outaozhen bb52c63d7d 库提交 5 years atrás
..
test bb52c63d7d 库提交 5 years atrás
.editorconfig bb52c63d7d 库提交 5 years atrás
.eslintrc bb52c63d7d 库提交 5 years atrás
.jscs.json bb52c63d7d 库提交 5 years atrás
.npmignore bb52c63d7d 库提交 5 years atrás
.travis.yml bb52c63d7d 库提交 5 years atrás
LICENSE bb52c63d7d 库提交 5 years atrás
README.md bb52c63d7d 库提交 5 years atrás
implementation.js bb52c63d7d 库提交 5 years atrás
index.js bb52c63d7d 库提交 5 years atrás
package.json bb52c63d7d 库提交 5 years atrás

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