tree: 33f6eec7e2bb6978d2198b36a2b13322cad6bf85 [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
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