kiruthiga 55473b7e7c initial push 5 日 前
..
test 55473b7e7c initial push 5 日 前
.editorconfig 55473b7e7c initial push 5 日 前
.eslintrc 55473b7e7c initial push 5 日 前
.jscs.json 55473b7e7c initial push 5 日 前
.npmignore 55473b7e7c initial push 5 日 前
.travis.yml 55473b7e7c initial push 5 日 前
LICENSE 55473b7e7c initial push 5 日 前
README.md 55473b7e7c initial push 5 日 前
implementation.js 55473b7e7c initial push 5 日 前
index.js 55473b7e7c initial push 5 日 前
package.json 55473b7e7c initial push 5 日 前

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