Skip to content

Commit

Permalink
Fixing the method on filter()
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed May 31, 2015
1 parent 9ced521 commit 2049487
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/haro.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class Haro {
}
} );

return tuple.call( tuple, result );
return tuple.apply( tuple, result );
}

forEach ( fn, ctx ) {
Expand Down
2 changes: 1 addition & 1 deletion lib/haro.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
});

return tuple.call(tuple, result);
return tuple.apply(tuple, result);
}
}, {
key: "forEach",
Expand Down
2 changes: 1 addition & 1 deletion lib/haro.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2049487

Please sign in to comment.