Evan You il y a 12 ans
Parent
commit
f097ca2310
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      src/observer/observer.js

+ 4 - 2
src/observer/observer.js

@@ -40,9 +40,11 @@ function Observer (value, type) {
 var p = Observer.prototype = Object.create(Emitter.prototype)
 
 /**
+ * Simply concatenating the path segments with `.` cannot
+ * deal with keys that happen to contain the dot.
+ *
  * Instead of the dot, we use the backspace character
- * which is much less likely to appear as property keys
- * in JavaScript.
+ * which is much less likely to appear in property keys.
  */
 
 var delimiter = Observer.pathDelimiter = '\b'