Zhouyiping 5a7c95461a first commit há 3 dias atrás
..
test 5a7c95461a first commit há 3 dias atrás
.editorconfig 5a7c95461a first commit há 3 dias atrás
.eslintrc 5a7c95461a first commit há 3 dias atrás
.jscs.json 5a7c95461a first commit há 3 dias atrás
.npmignore 5a7c95461a first commit há 3 dias atrás
.travis.yml 5a7c95461a first commit há 3 dias atrás
LICENSE 5a7c95461a first commit há 3 dias atrás
README.md 5a7c95461a first commit há 3 dias atrás
implementation.js 5a7c95461a first commit há 3 dias atrás
index.js 5a7c95461a first commit há 3 dias atrás
package.json 5a7c95461a first commit há 3 dias atrás

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