Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/platforms/default/lib/function.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/platforms/default/lib/function.js')
-rwxr-xr-xutils/platforms/default/lib/function.js19
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;
-};
-