yrik 0fb20a58e3 提交 před 4 roky
..
test eec7f449c9 first commit před 4 roky
.editorconfig eec7f449c9 first commit před 4 roky
.eslintrc eec7f449c9 first commit před 4 roky
.jscs.json eec7f449c9 first commit před 4 roky
.npmignore eec7f449c9 first commit před 4 roky
.travis.yml eec7f449c9 first commit před 4 roky
LICENSE eec7f449c9 first commit před 4 roky
README.md eec7f449c9 first commit před 4 roky
implementation.js eec7f449c9 first commit před 4 roky
index.js eec7f449c9 first commit před 4 roky
package.json 0fb20a58e3 提交 před 4 roky

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