Zhouyiping 5a7c95461a first commit 3 days ago
..
test 5a7c95461a first commit 3 days ago
.editorconfig 5a7c95461a first commit 3 days ago
.eslintrc 5a7c95461a first commit 3 days ago
.jscs.json 5a7c95461a first commit 3 days ago
.npmignore 5a7c95461a first commit 3 days ago
.travis.yml 5a7c95461a first commit 3 days ago
LICENSE 5a7c95461a first commit 3 days ago
README.md 5a7c95461a first commit 3 days ago
implementation.js 5a7c95461a first commit 3 days ago
index.js 5a7c95461a first commit 3 days ago
package.json 5a7c95461a first commit 3 days ago

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