Keine Beschreibung

golf d8e79ace03 index commit vor 2 Jahren
..
test d8e79ace03 index commit vor 2 Jahren
.editorconfig d8e79ace03 index commit vor 2 Jahren
.eslintrc d8e79ace03 index commit vor 2 Jahren
.jscs.json d8e79ace03 index commit vor 2 Jahren
.npmignore d8e79ace03 index commit vor 2 Jahren
.travis.yml d8e79ace03 index commit vor 2 Jahren
LICENSE d8e79ace03 index commit vor 2 Jahren
README.md d8e79ace03 index commit vor 2 Jahren
implementation.js d8e79ace03 index commit vor 2 Jahren
index.js d8e79ace03 index commit vor 2 Jahren
package.json d8e79ace03 index commit vor 2 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