Evan You 11 년 전
부모
커밋
f097ca2310
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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'