app/assets/javascripts/poke_js.js in poke_js-0.1.0 vs app/assets/javascripts/poke_js.js in poke_js-0.1.2
- old
+ new
@@ -13,10 +13,10 @@
o[namespace] = {};
return o[namespace];
},
define: function(namespace, hash, o) {
var o_namespace = POKE.get_or_create(namespace, o);
- $.extend(o_namespace, hash);
+ return $.extend(o_namespace, hash);
},
exec_all: function(controller, format, action) {
POKE.exec("app", format);
\ No newline at end of file