Permalink
Browse files

Fix call for passthroughCallables.

  • Loading branch information...
mbebenita committed May 14, 2012
1 parent 0de6b62 commit a968505b711ae053670a975b3b24e6b9619c79e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/avm2/native.js
View
@@ -208,7 +208,7 @@ var Class = (function () {
Class.passthroughCallable = function passthroughCallable(f) {
return {
call: function ($this) {
- Array.prototype.pop.call(arguments);
+ Array.prototype.shift.call(arguments);
return f.apply($this, arguments);
},
apply: function ($this, args) {

0 comments on commit a968505

Please sign in to comment.