Andrea Fazzi 929328de94 Replace domain name 4 anos atrás
..
test 994369ab61 First commit 7 anos atrás
.eslintrc 994369ab61 First commit 7 anos atrás
.jscs.json 994369ab61 First commit 7 anos atrás
.npmignore 994369ab61 First commit 7 anos atrás
.travis.yml 994369ab61 First commit 7 anos atrás
LICENSE 994369ab61 First commit 7 anos atrás
README.md 994369ab61 First commit 7 anos atrás
implementation.js 994369ab61 First commit 7 anos atrás
index.js 994369ab61 First commit 7 anos atrás
package.json 929328de94 Replace domain name 4 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