Download js/bind_polyfill.js from yethdev/2048: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/spaces/yethdev/2048/resolve/main/js/bind_polyfill.js
- Command line
-
hf download hf://spaces/yethdev/2048/js/bind_polyfill.js
-
curl -L -o bind_polyfill.js https://huggingface.co/spaces/yethdev/2048/resolve/main/js/bind_polyfill.js
229 Bytes
| Function.prototype.bind = Function.prototype.bind || function (target) { | |
| var self = this; | |
| return function (args) { | |
| if (!(args instanceof Array)) { | |
| args = [args]; | |
| } | |
| self.apply(target, args); | |
| }; | |
| }; | |