Björn f184cd7e2a | 4 years ago | |
---|---|---|
.. | ||
test | 4 years ago | |
.editorconfig | 4 years ago | |
.eslintrc | 4 years ago | |
.jscs.json | 4 years ago | |
.npmignore | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
implementation.js | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago |
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