spaceout/site/frontend/node_modules/function-bind
2020-12-12 14:43:35 -05:00
..
test init organization 2020-12-12 14:43:35 -05:00
.editorconfig init organization 2020-12-12 14:43:35 -05:00
.eslintrc init organization 2020-12-12 14:43:35 -05:00
.jscs.json init organization 2020-12-12 14:43:35 -05:00
.npmignore init organization 2020-12-12 14:43:35 -05:00
.travis.yml init organization 2020-12-12 14:43:35 -05:00
implementation.js init organization 2020-12-12 14:43:35 -05:00
index.js init organization 2020-12-12 14:43:35 -05:00
LICENSE init organization 2020-12-12 14:43:35 -05:00
package.json init organization 2020-12-12 14:43:35 -05:00
README.md init organization 2020-12-12 14:43:35 -05: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