cmy a6e36702ec 2023-3-1 2 år sedan
..
test a6e36702ec 2023-3-1 2 år sedan
.editorconfig a6e36702ec 2023-3-1 2 år sedan
.eslintrc a6e36702ec 2023-3-1 2 år sedan
.jscs.json a6e36702ec 2023-3-1 2 år sedan
.npmignore a6e36702ec 2023-3-1 2 år sedan
.travis.yml a6e36702ec 2023-3-1 2 år sedan
LICENSE a6e36702ec 2023-3-1 2 år sedan
README.md a6e36702ec 2023-3-1 2 år sedan
implementation.js a6e36702ec 2023-3-1 2 år sedan
index.js a6e36702ec 2023-3-1 2 år sedan
package.json a6e36702ec 2023-3-1 2 år sedan

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