Skip to content

Commit 0d728a2

Browse files
committed
0.5.2 patch: fix computed property $set / utils.bind()
1 parent ce7b888 commit 0d728a2

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

dist/seed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,12 +614,12 @@ var utils = module.exports = {
614614
},
615615

616616
/**
617-
* Most simple bind with no arguments
617+
* Most simple bind
618618
* enough for the usecase and fast than native bind()
619619
*/
620620
bind: function (fn, ctx) {
621621
return function () {
622-
return fn.call(ctx)
622+
return fn.apply(ctx, arguments)
623623
}
624624
},
625625

0 commit comments

Comments
 (0)