rename to bound

This commit is contained in:
notmasteryet 2011-08-28 15:15:16 -05:00
parent 5773511d16
commit e4205ca66b

View File

@ -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;
};
})();