|
|
il y a 2 ans | |
|---|---|---|
| .. | ||
| test | il y a 2 ans | |
| .editorconfig | il y a 2 ans | |
| .eslintrc | il y a 2 ans | |
| .jscs.json | il y a 2 ans | |
| .npmignore | il y a 2 ans | |
| .travis.yml | il y a 2 ans | |
| LICENSE | il y a 2 ans | |
| README.md | il y a 2 ans | |
| implementation.js | il y a 2 ans | |
| index.js | il y a 2 ans | |
| package.json | il y a 2 ans | |
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