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