Skip to content

Commit

Permalink
also make _ and $ prefixed properties reactive, but not proxying them
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 24, 2015
1 parent f85160e commit b89e7c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/observer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ Observer.prototype.walk = function (obj) {
while (i--) {
key = keys[i]
prefix = key.charCodeAt(0)
if (prefix !== 0x24 && prefix !== 0x5F) { // skip $ or _
this.convert(key, obj[key])
}
this.convert(key, obj[key])
}
}

Expand Down

0 comments on commit b89e7c3

Please sign in to comment.