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

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