yuanhao b574408fd7 first commit 3 jaren geleden
..
test b574408fd7 first commit 3 jaren geleden
.editorconfig b574408fd7 first commit 3 jaren geleden
.eslintrc b574408fd7 first commit 3 jaren geleden
.jscs.json b574408fd7 first commit 3 jaren geleden
.npmignore b574408fd7 first commit 3 jaren geleden
.travis.yml b574408fd7 first commit 3 jaren geleden
LICENSE b574408fd7 first commit 3 jaren geleden
README.md b574408fd7 first commit 3 jaren geleden
implementation.js b574408fd7 first commit 3 jaren geleden
index.js b574408fd7 first commit 3 jaren geleden
package.json b574408fd7 first commit 3 jaren geleden

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