lhl 7eff0e2ec0 1-9 4 ماه پیش
..
test 7eff0e2ec0 1-9 4 ماه پیش
.editorconfig 7eff0e2ec0 1-9 4 ماه پیش
.eslintrc 7eff0e2ec0 1-9 4 ماه پیش
.jscs.json 7eff0e2ec0 1-9 4 ماه پیش
.npmignore 7eff0e2ec0 1-9 4 ماه پیش
.travis.yml 7eff0e2ec0 1-9 4 ماه پیش
LICENSE 7eff0e2ec0 1-9 4 ماه پیش
README.md 7eff0e2ec0 1-9 4 ماه پیش
implementation.js 7eff0e2ec0 1-9 4 ماه پیش
index.js 7eff0e2ec0 1-9 4 ماه پیش
package.json 7eff0e2ec0 1-9 4 ماه پیش

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