setup-go/node_modules/function-bind
Stephen Franceschelli a966e84ff9 Fix.
2019-07-30 13:30:32 -04:00
..
test Fix. 2019-07-30 13:30:32 -04:00
.editorconfig Fix. 2019-07-30 13:30:32 -04:00
.eslintrc Fix. 2019-07-30 13:30:32 -04:00
.jscs.json Fix. 2019-07-30 13:30:32 -04:00
.npmignore Fix. 2019-07-30 13:30:32 -04:00
.travis.yml Fix. 2019-07-30 13:30:32 -04:00
implementation.js Fix. 2019-07-30 13:30:32 -04:00
index.js Fix. 2019-07-30 13:30:32 -04:00
LICENSE Fix. 2019-07-30 13:30:32 -04:00
package.json Fix. 2019-07-30 13:30:32 -04:00
README.md Fix. 2019-07-30 13:30:32 -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