Irina Glushko 2389e7160b HW1 done il y a 3 ans
..
test 2389e7160b HW1 done il y a 3 ans
.editorconfig 2389e7160b HW1 done il y a 3 ans
.eslintrc 2389e7160b HW1 done il y a 3 ans
.jscs.json 2389e7160b HW1 done il y a 3 ans
.npmignore 2389e7160b HW1 done il y a 3 ans
.travis.yml 2389e7160b HW1 done il y a 3 ans
LICENSE 2389e7160b HW1 done il y a 3 ans
README.md 2389e7160b HW1 done il y a 3 ans
implementation.js 2389e7160b HW1 done il y a 3 ans
index.js 2389e7160b HW1 done il y a 3 ans
package.json 2389e7160b HW1 done il y a 3 ans

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