Irina Glushko 2389e7160b HW1 done 3 éve
..
test 2389e7160b HW1 done 3 éve
.editorconfig 2389e7160b HW1 done 3 éve
.eslintrc 2389e7160b HW1 done 3 éve
.jscs.json 2389e7160b HW1 done 3 éve
.npmignore 2389e7160b HW1 done 3 éve
.travis.yml 2389e7160b HW1 done 3 éve
LICENSE 2389e7160b HW1 done 3 éve
README.md 2389e7160b HW1 done 3 éve
implementation.js 2389e7160b HW1 done 3 éve
index.js 2389e7160b HW1 done 3 éve
package.json 2389e7160b HW1 done 3 éve

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