my-idlers/node_modules/function-bind
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00
..
test V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
.editorconfig V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
.eslintrc V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
.jscs.json V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
.npmignore V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
.travis.yml V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
implementation.js V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
index.js V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
LICENSE V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
package.json V2 (Laravel re-make) 2022-03-06 02:02:12 +11:00
README.md V2 (Laravel re-make) 2022-03-06 02:02:12 +11: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