We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7b888 commit 0d728a2Copy full SHA for 0d728a2
dist/seed.js
@@ -614,12 +614,12 @@ var utils = module.exports = {
614
},
615
616
/**
617
- * Most simple bind with no arguments
+ * Most simple bind
618
* enough for the usecase and fast than native bind()
619
*/
620
bind: function (fn, ctx) {
621
return function () {
622
- return fn.call(ctx)
+ return fn.apply(ctx, arguments)
623
}
624
625
0 commit comments