mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
rename to bound
This commit is contained in:
parent
5773511d16
commit
e4205ca66b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue