]> git.parisson.com Git - pdf.js.git/commitdiff
rename to bound
authornotmasteryet <async.processingjs@yahoo.com>
Sun, 28 Aug 2011 20:15:16 +0000 (15:15 -0500)
committernotmasteryet <async.processingjs@yahoo.com>
Sun, 28 Aug 2011 20:15:16 +0000 (15:15 -0500)
web/compatibility.js

index 878bf53ee345fd75123ea43381e5a31ca6e47676..93d9d121b7f632cc7c2b97116e5aff548161e6c5 100755 (executable)
 
   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;
   };
 })();