xiongzhu abfe06b311 first commit 2 лет назад
..
test abfe06b311 first commit 2 лет назад
.editorconfig abfe06b311 first commit 2 лет назад
.eslintrc abfe06b311 first commit 2 лет назад
.jscs.json abfe06b311 first commit 2 лет назад
.npmignore abfe06b311 first commit 2 лет назад
.travis.yml abfe06b311 first commit 2 лет назад
LICENSE abfe06b311 first commit 2 лет назад
README.md abfe06b311 first commit 2 лет назад
implementation.js abfe06b311 first commit 2 лет назад
index.js abfe06b311 first commit 2 лет назад
package.json abfe06b311 first commit 2 лет назад

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