kiruthiga 55473b7e7c initial push vor 5 Tagen
..
test 55473b7e7c initial push vor 5 Tagen
.editorconfig 55473b7e7c initial push vor 5 Tagen
.eslintrc 55473b7e7c initial push vor 5 Tagen
.jscs.json 55473b7e7c initial push vor 5 Tagen
.npmignore 55473b7e7c initial push vor 5 Tagen
.travis.yml 55473b7e7c initial push vor 5 Tagen
LICENSE 55473b7e7c initial push vor 5 Tagen
README.md 55473b7e7c initial push vor 5 Tagen
implementation.js 55473b7e7c initial push vor 5 Tagen
index.js 55473b7e7c initial push vor 5 Tagen
package.json 55473b7e7c initial push vor 5 Tagen

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