r3-v2/node_modules/function-bind
Theunis J. Botha 5f5bbac56e initial comit 2020-02-27 15:24:35 +01:00
..
test initial comit 2020-02-27 15:24:35 +01:00
.editorconfig initial comit 2020-02-27 15:24:35 +01:00
.eslintrc initial comit 2020-02-27 15:24:35 +01:00
.jscs.json initial comit 2020-02-27 15:24:35 +01:00
.npmignore initial comit 2020-02-27 15:24:35 +01:00
.travis.yml initial comit 2020-02-27 15:24:35 +01:00
LICENSE initial comit 2020-02-27 15:24:35 +01:00
README.md initial comit 2020-02-27 15:24:35 +01:00
implementation.js initial comit 2020-02-27 15:24:35 +01:00
index.js initial comit 2020-02-27 15:24:35 +01:00
package.json initial comit 2020-02-27 15:24:35 +01: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