e528523742 v1.0.0 4 år sedan
..
test e528523742 v1.0.0 4 år sedan
.editorconfig e528523742 v1.0.0 4 år sedan
.eslintrc e528523742 v1.0.0 4 år sedan
.jscs.json e528523742 v1.0.0 4 år sedan
.npmignore e528523742 v1.0.0 4 år sedan
.travis.yml e528523742 v1.0.0 4 år sedan
LICENSE e528523742 v1.0.0 4 år sedan
README.md e528523742 v1.0.0 4 år sedan
implementation.js e528523742 v1.0.0 4 år sedan
index.js e528523742 v1.0.0 4 år sedan
package.json e528523742 v1.0.0 4 år sedan

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