Axel Nordh 93a8080f4c Init commit 2 éve
..
test 93a8080f4c Init commit 2 éve
.editorconfig 93a8080f4c Init commit 2 éve
.eslintrc 93a8080f4c Init commit 2 éve
.jscs.json 93a8080f4c Init commit 2 éve
.npmignore 93a8080f4c Init commit 2 éve
.travis.yml 93a8080f4c Init commit 2 éve
LICENSE 93a8080f4c Init commit 2 éve
README.md 93a8080f4c Init commit 2 éve
implementation.js 93a8080f4c Init commit 2 éve
index.js 93a8080f4c Init commit 2 éve
package.json 93a8080f4c Init commit 2 é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