diff options
author | Eric Bidelman | 2012-07-11 10:43:37 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-07-11 10:43:37 -0700 |
commit | f208307cbdd403d3fa92a1aae1dc9c094c7ec9d8 (patch) | |
tree | eb8ac9966f182313db6b11e12c2f4fd5bab070b7 /js/polyfills/bind.js | |
parent | d78d1c5069ecdb6723a8933dbb86f4b7a20c59e9 (diff) | |
download | io-slides-remote-f208307cbdd403d3fa92a1aae1dc9c094c7ec9d8.tar.gz |
Bringing in upstream changes
Diffstat (limited to 'js/polyfills/bind.js')
-rw-r--r-- | js/polyfills/bind.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/js/polyfills/bind.js b/js/polyfills/bind.js deleted file mode 100644 index fe6bc0d..0000000 --- a/js/polyfills/bind.js +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | // Function.bind polyfill for Safari < 5.1.4 and iOS. | ||
2 | // From https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/bind | ||
3 | Function.prototype.bind||(Function.prototype.bind=function(c){if("function"!==typeof this)throw new TypeError("Function.prototype.bind - binding an object that is not callable");var d=Array.prototype.slice.call(arguments,1),e=this,a=function(){},b=function(){return e.apply(this instanceof a?this:c||window,d.concat(Array.prototype.slice.call(arguments)))};a.prototype=this.prototype;b.prototype=new a;return b}); | ||