setup-php/node_modules/function-bind
2019-09-20 21:54:46 +05:30
..
test Improve code quality and write tests 2019-09-20 21:54:46 +05:30
.editorconfig Improve code quality and write tests 2019-09-20 21:54:46 +05:30
.eslintrc Improve code quality and write tests 2019-09-20 21:54:46 +05:30
.jscs.json Improve code quality and write tests 2019-09-20 21:54:46 +05:30
.npmignore Improve code quality and write tests 2019-09-20 21:54:46 +05:30
.travis.yml Improve code quality and write tests 2019-09-20 21:54:46 +05:30
implementation.js Improve code quality and write tests 2019-09-20 21:54:46 +05:30
index.js Improve code quality and write tests 2019-09-20 21:54:46 +05:30
LICENSE Improve code quality and write tests 2019-09-20 21:54:46 +05:30
package.json Improve code quality and write tests 2019-09-20 21:54:46 +05:30
README.md Improve code quality and write tests 2019-09-20 21:54:46 +05:30

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