outaozhen bb52c63d7d 库提交 5 år sedan
..
test bb52c63d7d 库提交 5 år sedan
.editorconfig bb52c63d7d 库提交 5 år sedan
.eslintrc bb52c63d7d 库提交 5 år sedan
.jscs.json bb52c63d7d 库提交 5 år sedan
.npmignore bb52c63d7d 库提交 5 år sedan
.travis.yml bb52c63d7d 库提交 5 år sedan
LICENSE bb52c63d7d 库提交 5 år sedan
README.md bb52c63d7d 库提交 5 år sedan
implementation.js bb52c63d7d 库提交 5 år sedan
index.js bb52c63d7d 库提交 5 år sedan
package.json bb52c63d7d 库提交 5 å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