jack e1a2621c78 update 2 anos atrás
..
test e1a2621c78 update 2 anos atrás
.editorconfig e1a2621c78 update 2 anos atrás
.eslintrc e1a2621c78 update 2 anos atrás
.jscs.json e1a2621c78 update 2 anos atrás
.npmignore e1a2621c78 update 2 anos atrás
.travis.yml e1a2621c78 update 2 anos atrás
LICENSE e1a2621c78 update 2 anos atrás
README.md e1a2621c78 update 2 anos atrás
implementation.js e1a2621c78 update 2 anos atrás
index.js e1a2621c78 update 2 anos atrás
package.json e1a2621c78 update 2 anos atrás

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