b s s m e0c8121d0c first commit 3 år sedan
..
test e0c8121d0c first commit 3 år sedan
.editorconfig e0c8121d0c first commit 3 år sedan
.eslintrc e0c8121d0c first commit 3 år sedan
.jscs.json e0c8121d0c first commit 3 år sedan
.npmignore e0c8121d0c first commit 3 år sedan
.travis.yml e0c8121d0c first commit 3 år sedan
LICENSE e0c8121d0c first commit 3 år sedan
README.md e0c8121d0c first commit 3 år sedan
implementation.js e0c8121d0c first commit 3 år sedan
index.js e0c8121d0c first commit 3 år sedan
package.json e0c8121d0c first commit 3 å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