yrik 0fb20a58e3 提交 4 yıl önce
..
test eec7f449c9 first commit 4 yıl önce
.editorconfig eec7f449c9 first commit 4 yıl önce
.eslintrc eec7f449c9 first commit 4 yıl önce
.jscs.json eec7f449c9 first commit 4 yıl önce
.npmignore eec7f449c9 first commit 4 yıl önce
.travis.yml eec7f449c9 first commit 4 yıl önce
LICENSE eec7f449c9 first commit 4 yıl önce
README.md eec7f449c9 first commit 4 yıl önce
implementation.js eec7f449c9 first commit 4 yıl önce
index.js eec7f449c9 first commit 4 yıl önce
package.json 0fb20a58e3 提交 4 yıl önce

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