|
|
há 2 anos atrás | |
|---|---|---|
| .. | ||
| test | há 2 anos atrás | |
| .editorconfig | há 2 anos atrás | |
| .eslintrc | há 2 anos atrás | |
| .jscs.json | há 2 anos atrás | |
| .npmignore | há 2 anos atrás | |
| .travis.yml | há 2 anos atrás | |
| LICENSE | há 2 anos atrás | |
| README.md | há 2 anos atrás | |
| implementation.js | há 2 anos atrás | |
| index.js | há 2 anos atrás | |
| package.json | há 2 anos atrás | |
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