install-nix-action/node_modules/function-bind
Domen Kožar 49df04613e
v7
2020-02-24 13:29:22 +01:00
..
test v7 2020-02-24 13:29:22 +01:00
.editorconfig v7 2020-02-24 13:29:22 +01:00
.eslintrc v7 2020-02-24 13:29:22 +01:00
.jscs.json v7 2020-02-24 13:29:22 +01:00
.npmignore v7 2020-02-24 13:29:22 +01:00
.travis.yml v7 2020-02-24 13:29:22 +01:00
implementation.js v7 2020-02-24 13:29:22 +01:00
index.js v7 2020-02-24 13:29:22 +01:00
LICENSE v7 2020-02-24 13:29:22 +01:00
package.json v7 2020-02-24 13:29:22 +01:00
README.md v7 2020-02-24 13:29:22 +01: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