It's so easy to be spoiled by CoffeeScript.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -27,7 +27,7 @@ Configuring Rivets.js is required before anything can be bound, as binding is de | ... | @@ -27,7 +27,7 @@ Configuring Rivets.js is required before anything can be bound, as binding is de |
27 | obj.on('change:' + keypath, function(m, v) { callback(v) }); | 27 | obj.on('change:' + keypath, function(m, v) { callback(v) }); |
28 | }, | 28 | }, |
29 | read: function(obj, keypath) { | 29 | read: function(obj, keypath) { |
30 | obj.get(keypath); | 30 | return obj.get(keypath); |
31 | }, | 31 | }, |
32 | publish: function(obj, keypath, value) { | 32 | publish: function(obj, keypath, value) { |
33 | obj.set(keypath, value); | 33 | obj.set(keypath, value); | ... | ... |
-
Please register or sign in to post a comment