|
|
2 年之前 | |
|---|---|---|
| .. | ||
| test | 2 年之前 | |
| .editorconfig | 2 年之前 | |
| .eslintrc | 2 年之前 | |
| .jscs.json | 2 年之前 | |
| .npmignore | 2 年之前 | |
| .travis.yml | 2 年之前 | |
| LICENSE | 2 年之前 | |
| README.md | 2 年之前 | |
| implementation.js | 2 年之前 | |
| index.js | 2 年之前 | |
| package.json | 2 年之前 | |
Implementation of function.prototype.bind
I mainly do this for unit tests I run on phantomjs. PhantomJS does not have Function.prototype.bind :(
Function.prototype.bind = require("function-bind")
npm install function-bind