b s s m e0c8121d0c first commit 3 lat temu
..
test e0c8121d0c first commit 3 lat temu
.editorconfig e0c8121d0c first commit 3 lat temu
.eslintrc e0c8121d0c first commit 3 lat temu
.jscs.json e0c8121d0c first commit 3 lat temu
.npmignore e0c8121d0c first commit 3 lat temu
.travis.yml e0c8121d0c first commit 3 lat temu
LICENSE e0c8121d0c first commit 3 lat temu
README.md e0c8121d0c first commit 3 lat temu
implementation.js e0c8121d0c first commit 3 lat temu
index.js e0c8121d0c first commit 3 lat temu
package.json e0c8121d0c first commit 3 lat temu

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