prc b6c02717e6 Upload complete no-internet building environment. hai 1 ano
..
test b6c02717e6 Upload complete no-internet building environment. hai 1 ano
.editorconfig b6c02717e6 Upload complete no-internet building environment. hai 1 ano
.eslintrc b6c02717e6 Upload complete no-internet building environment. hai 1 ano
.jscs.json b6c02717e6 Upload complete no-internet building environment. hai 1 ano
.npmignore b6c02717e6 Upload complete no-internet building environment. hai 1 ano
.travis.yml b6c02717e6 Upload complete no-internet building environment. hai 1 ano
LICENSE b6c02717e6 Upload complete no-internet building environment. hai 1 ano
README.md b6c02717e6 Upload complete no-internet building environment. hai 1 ano
implementation.js b6c02717e6 Upload complete no-internet building environment. hai 1 ano
index.js b6c02717e6 Upload complete no-internet building environment. hai 1 ano
package.json b6c02717e6 Upload complete no-internet building environment. hai 1 ano

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