xiongzhu abfe06b311 first commit 2 lat temu
..
test abfe06b311 first commit 2 lat temu
.editorconfig abfe06b311 first commit 2 lat temu
.eslintrc abfe06b311 first commit 2 lat temu
.jscs.json abfe06b311 first commit 2 lat temu
.npmignore abfe06b311 first commit 2 lat temu
.travis.yml abfe06b311 first commit 2 lat temu
LICENSE abfe06b311 first commit 2 lat temu
README.md abfe06b311 first commit 2 lat temu
implementation.js abfe06b311 first commit 2 lat temu
index.js abfe06b311 first commit 2 lat temu
package.json abfe06b311 first commit 2 lat temu

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