caae0fd2 by Michael Richards

Make observable properties enumerable. [Closes #276]

1 parent 39df93d7
...@@ -57,6 +57,7 @@ Rivets.adapters['.'] = ...@@ -57,6 +57,7 @@ Rivets.adapters['.'] =
57 value = obj[keypath] 57 value = obj[keypath]
58 58
59 Object.defineProperty obj, keypath, 59 Object.defineProperty obj, keypath,
60 enumerable: true
60 get: -> value 61 get: -> value
61 set: (newValue) => 62 set: (newValue) =>
62 if newValue isnt value 63 if newValue isnt value
......