Pass arguments from ctxCall forward to set state

This commit is contained in:
Julian Arni
2013-06-26 12:36:04 -04:00
parent 9d49a0e8b9
commit b03d93901f

View File

@@ -24,7 +24,11 @@
oldthis.pop();
oldthis = oldthis.join();
var newthis = _deepKey(obj, oldthis);
return func.apply(newthis);
var args = Array.prototype.slice.call(arguments);
args = args.slice(2, args.length);
return func.apply(newthis, args);
};
// First time this function was called?