diff options
Diffstat (limited to 'utils/platforms/default/lib/function.js')
-rwxr-xr-x | utils/platforms/default/lib/function.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/utils/platforms/default/lib/function.js b/utils/platforms/default/lib/function.js deleted file mode 100755 index 2622359..0000000 --- a/utils/platforms/default/lib/function.js +++ /dev/null @@ -1,19 +0,0 @@ - -Function.prototype.bind = function () { - var args = Array.prototype.slice.call(arguments); - var self = this; - var bound = function () { - return self.call.apply( - self, - args.concat( - Array.prototype.slice.call(arguments) - ) - ); - }; - bound.name = this.name; - bound.displayName = this.displayName; - bound.length = this.length; - bound.unbound = self; - return bound; -}; - |