Vika a1fdb9607d hw react2 | 2 lat temu | |
---|---|---|
.. | ||
test | 2 lat temu | |
.editorconfig | 2 lat temu | |
.eslintrc | 2 lat temu | |
.jscs.json | 2 lat temu | |
.npmignore | 2 lat temu | |
.travis.yml | 2 lat temu | |
LICENSE | 2 lat temu | |
README.md | 2 lat temu | |
implementation.js | 2 lat temu | |
index.js | 2 lat temu | |
package.json | 2 lat temu |
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