xiongzhu abfe06b311 first commit 2 yıl önce
..
test abfe06b311 first commit 2 yıl önce
.editorconfig abfe06b311 first commit 2 yıl önce
.eslintrc abfe06b311 first commit 2 yıl önce
.jscs.json abfe06b311 first commit 2 yıl önce
.npmignore abfe06b311 first commit 2 yıl önce
.travis.yml abfe06b311 first commit 2 yıl önce
LICENSE abfe06b311 first commit 2 yıl önce
README.md abfe06b311 first commit 2 yıl önce
implementation.js abfe06b311 first commit 2 yıl önce
index.js abfe06b311 first commit 2 yıl önce
package.json abfe06b311 first commit 2 yıl önce

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