doc/node_modules/function-bind
2021-05-05 15:50:12 +02:00
..
test Move content to repo root 2021-05-05 15:50:12 +02:00
.editorconfig Move content to repo root 2021-05-05 15:50:12 +02:00
.eslintrc Move content to repo root 2021-05-05 15:50:12 +02:00
.jscs.json Move content to repo root 2021-05-05 15:50:12 +02:00
.npmignore Move content to repo root 2021-05-05 15:50:12 +02:00
.travis.yml Move content to repo root 2021-05-05 15:50:12 +02:00
implementation.js Move content to repo root 2021-05-05 15:50:12 +02:00
index.js Move content to repo root 2021-05-05 15:50:12 +02:00
LICENSE Move content to repo root 2021-05-05 15:50:12 +02:00
package.json Move content to repo root 2021-05-05 15:50:12 +02:00
README.md Move content to repo root 2021-05-05 15:50:12 +02: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