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