tree: 6ded75ea4839e74036bfad10f84b908c0d9da398 [path history] [tgz]
  1. test/
  2. .editorconfig
  3. .eslintrc
  4. .jscs.json
  5. .npmignore
  6. .travis.yml
  7. implementation.js
  8. index.js
  9. LICENSE
  10. package.json
  11. README.md
setup-maven/node_modules/function-bind/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