setup-node/node_modules/function-bind
eric sciple 2b95e76931 .
2020-01-24 12:20:19 -05:00
..
test . 2020-01-24 12:20:19 -05:00
.editorconfig . 2020-01-24 12:20:19 -05:00
.eslintrc . 2020-01-24 12:20:19 -05:00
.jscs.json . 2020-01-24 12:20:19 -05:00
.npmignore . 2020-01-24 12:20:19 -05:00
.travis.yml . 2020-01-24 12:20:19 -05:00
implementation.js . 2020-01-24 12:20:19 -05:00
index.js . 2020-01-24 12:20:19 -05:00
LICENSE . 2020-01-24 12:20:19 -05:00
package.json . 2020-01-24 12:20:19 -05:00
README.md . 2020-01-24 12:20:19 -05: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