yrik 2fd3c19a01 提交 il y a 4 ans
..
test eec7f449c9 first commit il y a 4 ans
.editorconfig eec7f449c9 first commit il y a 4 ans
.eslintrc eec7f449c9 first commit il y a 4 ans
.jscs.json eec7f449c9 first commit il y a 4 ans
.npmignore eec7f449c9 first commit il y a 4 ans
.travis.yml eec7f449c9 first commit il y a 4 ans
LICENSE eec7f449c9 first commit il y a 4 ans
README.md eec7f449c9 first commit il y a 4 ans
implementation.js eec7f449c9 first commit il y a 4 ans
index.js eec7f449c9 first commit il y a 4 ans
package.json 2fd3c19a01 提交 il y a 4 ans

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