rename to bound
This commit is contained in:
parent
5773511d16
commit
e4205ca66b
@ -148,11 +148,11 @@
|
||||
|
||||
Function.prototype.bind = function(obj) {
|
||||
var fn = this, headArgs = Array.prototype.slice.call(arguments, 1);
|
||||
var binded = function() {
|
||||
var bound = function() {
|
||||
var args = Array.prototype.concat.apply(headArgs, arguments);
|
||||
return fn.apply(obj, args);
|
||||
};
|
||||
return binded;
|
||||
return bound;
|
||||
};
|
||||
})();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user