line_push/node_modules/function-bind
2022-07-21 03:28:35 +00:00
..
test V1 2022-07-21 03:28:35 +00:00
.editorconfig V1 2022-07-21 03:28:35 +00:00
.eslintrc V1 2022-07-21 03:28:35 +00:00
.jscs.json V1 2022-07-21 03:28:35 +00:00
.npmignore V1 2022-07-21 03:28:35 +00:00
.travis.yml V1 2022-07-21 03:28:35 +00:00
implementation.js V1 2022-07-21 03:28:35 +00:00
index.js V1 2022-07-21 03:28:35 +00:00
LICENSE V1 2022-07-21 03:28:35 +00:00
package.json V1 2022-07-21 03:28:35 +00:00
README.md V1 2022-07-21 03:28:35 +00:00

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