chenrui  c2abfadd11 add 3 anos atrás
..
test c2abfadd11 add 3 anos atrás
.editorconfig c2abfadd11 add 3 anos atrás
.eslintrc c2abfadd11 add 3 anos atrás
.jscs.json c2abfadd11 add 3 anos atrás
.npmignore c2abfadd11 add 3 anos atrás
.travis.yml c2abfadd11 add 3 anos atrás
LICENSE c2abfadd11 add 3 anos atrás
README.md c2abfadd11 add 3 anos atrás
implementation.js c2abfadd11 add 3 anos atrás
index.js c2abfadd11 add 3 anos atrás
package.json c2abfadd11 add 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