node-test/node_modules/function-bind
Fred Boniface a1dfeb98ee First 2022-12-15 10:14:42 +00:00
..
test First 2022-12-15 10:14:42 +00:00
.editorconfig First 2022-12-15 10:14:42 +00:00
.eslintrc First 2022-12-15 10:14:42 +00:00
.jscs.json First 2022-12-15 10:14:42 +00:00
.npmignore First 2022-12-15 10:14:42 +00:00
.travis.yml First 2022-12-15 10:14:42 +00:00
LICENSE First 2022-12-15 10:14:42 +00:00
README.md First 2022-12-15 10:14:42 +00:00
implementation.js First 2022-12-15 10:14:42 +00:00
index.js First 2022-12-15 10:14:42 +00:00
package.json First 2022-12-15 10:14:42 +00:00

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