Skip to content

Commit b89e7c3

Browse files
committed
also make _ and $ prefixed properties reactive, but not proxying them
1 parent f85160e commit b89e7c3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/observer/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ Observer.prototype.walk = function (obj) {
8282
while (i--) {
8383
key = keys[i]
8484
prefix = key.charCodeAt(0)
85-
if (prefix !== 0x24 && prefix !== 0x5F) { // skip $ or _
86-
this.convert(key, obj[key])
87-
}
85+
this.convert(key, obj[key])
8886
}
8987
}
9088

0 commit comments

Comments
 (0)