tree: d543814db2bedfd8c94847302ef1e0f4b7e8d773 [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
src/third_party/devtools/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