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