DigitalConsumer.FixMyGlass/node_modules/function-bind
2021-09-20 18:29:11 -04:00
..
test my commit 2021-09-20 18:29:11 -04:00
.editorconfig my commit 2021-09-20 18:29:11 -04:00
.eslintrc my commit 2021-09-20 18:29:11 -04:00
.jscs.json my commit 2021-09-20 18:29:11 -04:00
.npmignore my commit 2021-09-20 18:29:11 -04:00
.travis.yml my commit 2021-09-20 18:29:11 -04:00
implementation.js my commit 2021-09-20 18:29:11 -04:00
index.js my commit 2021-09-20 18:29:11 -04:00
LICENSE my commit 2021-09-20 18:29:11 -04:00
package.json my commit 2021-09-20 18:29:11 -04:00
README.md my commit 2021-09-20 18:29:11 -04:00

function-bind

Implementation of function.prototype.bind

Example

I mainly do this for unit tests I run on phantomjs. PhantomJS does not have Function.prototype.bind :(

Function.prototype.bind = require("function-bind")

Installation

npm install function-bind

Contributors

  • Raynos

MIT Licenced