yuanhao b574408fd7 first commit 3 سال پیش
..
test b574408fd7 first commit 3 سال پیش
.editorconfig b574408fd7 first commit 3 سال پیش
.eslintrc b574408fd7 first commit 3 سال پیش
.jscs.json b574408fd7 first commit 3 سال پیش
.npmignore b574408fd7 first commit 3 سال پیش
.travis.yml b574408fd7 first commit 3 سال پیش
LICENSE b574408fd7 first commit 3 سال پیش
README.md b574408fd7 first commit 3 سال پیش
implementation.js b574408fd7 first commit 3 سال پیش
index.js b574408fd7 first commit 3 سال پیش
package.json b574408fd7 first commit 3 سال پیش

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