huanggang 03a863fb53 add node_modules 8 years atrás
..
test 03a863fb53 add node_modules 8 years atrás
.eslintrc 03a863fb53 add node_modules 8 years atrás
.jscs.json 03a863fb53 add node_modules 8 years atrás
.npmignore 03a863fb53 add node_modules 8 years atrás
.travis.yml 03a863fb53 add node_modules 8 years atrás
LICENSE 03a863fb53 add node_modules 8 years atrás
README.md 03a863fb53 add node_modules 8 years atrás
implementation.js 03a863fb53 add node_modules 8 years atrás
index.js 03a863fb53 add node_modules 8 years atrás
package.json 03a863fb53 add node_modules 8 years 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