thedesk/app/node_modules/function-bind
2019-09-12 23:38:13 +09:00
..
test Add: node_modules 2019-09-12 23:38:13 +09:00
.editorconfig Add: node_modules 2019-09-12 23:38:13 +09:00
.eslintrc Add: node_modules 2019-09-12 23:38:13 +09:00
.jscs.json Add: node_modules 2019-09-12 23:38:13 +09:00
.npmignore Add: node_modules 2019-09-12 23:38:13 +09:00
.travis.yml Add: node_modules 2019-09-12 23:38:13 +09:00
implementation.js Add: node_modules 2019-09-12 23:38:13 +09:00
index.js Add: node_modules 2019-09-12 23:38:13 +09:00
LICENSE Add: node_modules 2019-09-12 23:38:13 +09:00
package.json Add: node_modules 2019-09-12 23:38:13 +09:00
README.md Add: node_modules 2019-09-12 23:38:13 +09: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