root f4b10b55a0 Initial commit 2 ماه پیش
..
test f4b10b55a0 Initial commit 2 ماه پیش
.editorconfig f4b10b55a0 Initial commit 2 ماه پیش
.eslintrc f4b10b55a0 Initial commit 2 ماه پیش
.jscs.json f4b10b55a0 Initial commit 2 ماه پیش
.npmignore f4b10b55a0 Initial commit 2 ماه پیش
.travis.yml f4b10b55a0 Initial commit 2 ماه پیش
LICENSE f4b10b55a0 Initial commit 2 ماه پیش
README.md f4b10b55a0 Initial commit 2 ماه پیش
implementation.js f4b10b55a0 Initial commit 2 ماه پیش
index.js f4b10b55a0 Initial commit 2 ماه پیش
package.json f4b10b55a0 Initial commit 2 ماه پیش

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