src/js/utils.js
branchpopcorn-port
changeset 78 d77fe3283530
parent 73 a8192c57c87d
child 99 912f100fecb0
--- a/src/js/utils.js	Mon Oct 17 10:29:01 2011 +0200
+++ b/src/js/utils.js	Mon Oct 17 10:29:29 2011 +0200
@@ -18,8 +18,8 @@
 */   
 IriSP.wrap = function (obj, fn) {
   return function() {
-    args = [].slice.call(this, arguments);
-    fn.call(obj, args);
+    var args = [].slice.call(this, arguments);
+    return fn.call(obj, args);
   }
 }