xinagyan cf096baab9 修改 hace 2 años
..
test cf096baab9 修改 hace 2 años
.editorconfig cf096baab9 修改 hace 2 años
.eslintrc cf096baab9 修改 hace 2 años
.jscs.json cf096baab9 修改 hace 2 años
.npmignore cf096baab9 修改 hace 2 años
.travis.yml cf096baab9 修改 hace 2 años
LICENSE cf096baab9 修改 hace 2 años
README.md cf096baab9 修改 hace 2 años
implementation.js cf096baab9 修改 hace 2 años
index.js cf096baab9 修改 hace 2 años
package.json cf096baab9 修改 hace 2 años

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