chenrui  c2abfadd11 add vor 3 Jahren
..
test c2abfadd11 add vor 3 Jahren
.editorconfig c2abfadd11 add vor 3 Jahren
.eslintrc c2abfadd11 add vor 3 Jahren
.jscs.json c2abfadd11 add vor 3 Jahren
.npmignore c2abfadd11 add vor 3 Jahren
.travis.yml c2abfadd11 add vor 3 Jahren
LICENSE c2abfadd11 add vor 3 Jahren
README.md c2abfadd11 add vor 3 Jahren
implementation.js c2abfadd11 add vor 3 Jahren
index.js c2abfadd11 add vor 3 Jahren
package.json c2abfadd11 add vor 3 Jahren

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