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