|
|
||||
|---|---|---|---|---|
| .. | ||||
| test | 11e3a9652a | 7 years ago | ||
| .editorconfig | 11e3a9652a | 7 years ago | ||
| .eslintrc | 11e3a9652a | 7 years ago | ||
| .jscs.json | 11e3a9652a | 7 years ago | ||
| .npmignore | 11e3a9652a | 7 years ago | ||
| .travis.yml | 11e3a9652a | 7 years ago | ||
| LICENSE | 11e3a9652a | 7 years ago | ||
| README.md | 11e3a9652a | 7 years ago | ||
| implementation.js | 11e3a9652a | 7 years ago | ||
| index.js | 11e3a9652a | 7 years ago | ||
| package.json | 11e3a9652a | 7 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