benji.monster/node_modules/function-bind
2020-01-03 21:48:09 +01:00
..
test upload site 2020-01-03 21:48:09 +01:00
.editorconfig upload site 2020-01-03 21:48:09 +01:00
.eslintrc upload site 2020-01-03 21:48:09 +01:00
.jscs.json upload site 2020-01-03 21:48:09 +01:00
.npmignore upload site 2020-01-03 21:48:09 +01:00
.travis.yml upload site 2020-01-03 21:48:09 +01:00
implementation.js upload site 2020-01-03 21:48:09 +01:00
index.js upload site 2020-01-03 21:48:09 +01:00
LICENSE upload site 2020-01-03 21:48:09 +01:00
package.json upload site 2020-01-03 21:48:09 +01:00
README.md upload site 2020-01-03 21:48:09 +01: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