yuanhao b574408fd7 first commit 3 éve
..
test b574408fd7 first commit 3 éve
.editorconfig b574408fd7 first commit 3 éve
.eslintrc b574408fd7 first commit 3 éve
.jscs.json b574408fd7 first commit 3 éve
.npmignore b574408fd7 first commit 3 éve
.travis.yml b574408fd7 first commit 3 éve
LICENSE b574408fd7 first commit 3 éve
README.md b574408fd7 first commit 3 éve
implementation.js b574408fd7 first commit 3 éve
index.js b574408fd7 first commit 3 éve
package.json b574408fd7 first commit 3 é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