4a68a877 by Patrick Gibson

It's so easy to be spoiled by CoffeeScript.

1 parent c5fd5f1b
...@@ -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);
......