不会爬树的猴 1f41508d80 错误更改 2 éve
..
test 1f41508d80 错误更改 2 éve
.editorconfig 1f41508d80 错误更改 2 éve
.eslintrc 1f41508d80 错误更改 2 éve
.jscs.json 1f41508d80 错误更改 2 éve
.npmignore 1f41508d80 错误更改 2 éve
.travis.yml 1f41508d80 错误更改 2 éve
LICENSE 1f41508d80 错误更改 2 éve
README.md 1f41508d80 错误更改 2 éve
implementation.js 1f41508d80 错误更改 2 éve
index.js 1f41508d80 错误更改 2 éve
package.json 1f41508d80 错误更改 2 éve

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