setup-python/node_modules/function-bind
Danny McCormick 39c08a0eaa Initial pass 2019-06-26 21:12:00 -04:00
..
test Initial pass 2019-06-26 21:12:00 -04:00
.editorconfig Initial pass 2019-06-26 21:12:00 -04:00
.eslintrc Initial pass 2019-06-26 21:12:00 -04:00
.jscs.json Initial pass 2019-06-26 21:12:00 -04:00
.npmignore Initial pass 2019-06-26 21:12:00 -04:00
.travis.yml Initial pass 2019-06-26 21:12:00 -04:00
LICENSE Initial pass 2019-06-26 21:12:00 -04:00
README.md Initial pass 2019-06-26 21:12:00 -04:00
implementation.js Initial pass 2019-06-26 21:12:00 -04:00
index.js Initial pass 2019-06-26 21:12:00 -04:00
package.json Initial pass 2019-06-26 21:12:00 -04:00

README.md

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