websocket-canvas/node_modules/function-bind
Robin Steinberg 02f21f1ccd Initial commit 2021-08-24 19:21:14 +02:00
..
test Initial commit 2021-08-24 19:21:14 +02:00
.editorconfig Initial commit 2021-08-24 19:21:14 +02:00
.eslintrc Initial commit 2021-08-24 19:21:14 +02:00
.jscs.json Initial commit 2021-08-24 19:21:14 +02:00
.npmignore Initial commit 2021-08-24 19:21:14 +02:00
.travis.yml Initial commit 2021-08-24 19:21:14 +02:00
LICENSE Initial commit 2021-08-24 19:21:14 +02:00
README.md Initial commit 2021-08-24 19:21:14 +02:00
implementation.js Initial commit 2021-08-24 19:21:14 +02:00
index.js Initial commit 2021-08-24 19:21:14 +02:00
package.json Initial commit 2021-08-24 19:21:14 +02: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