Lawsun d230cfbce0 first commit 1 éve
..
test d230cfbce0 first commit 1 éve
.editorconfig d230cfbce0 first commit 1 éve
.eslintrc d230cfbce0 first commit 1 éve
.jscs.json d230cfbce0 first commit 1 éve
.npmignore d230cfbce0 first commit 1 éve
.travis.yml d230cfbce0 first commit 1 éve
LICENSE d230cfbce0 first commit 1 éve
README.md d230cfbce0 first commit 1 éve
implementation.js d230cfbce0 first commit 1 éve
index.js d230cfbce0 first commit 1 éve
package.json d230cfbce0 first commit 1 éve

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