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

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