tree: f242cb76a5104904946327fb3454a1684a6d4e3d [path history] [tgz]
  1. .editorconfig
  2. .eslintrc
  3. .jscs.json
  4. .npmignore
  5. .travis.yml
  6. implementation.js
  7. index.js
  8. LICENSE
  9. package.json
  10. 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