root f4b10b55a0 Initial commit hai 2 meses
..
test f4b10b55a0 Initial commit hai 2 meses
.editorconfig f4b10b55a0 Initial commit hai 2 meses
.eslintrc f4b10b55a0 Initial commit hai 2 meses
.jscs.json f4b10b55a0 Initial commit hai 2 meses
.npmignore f4b10b55a0 Initial commit hai 2 meses
.travis.yml f4b10b55a0 Initial commit hai 2 meses
LICENSE f4b10b55a0 Initial commit hai 2 meses
README.md f4b10b55a0 Initial commit hai 2 meses
implementation.js f4b10b55a0 Initial commit hai 2 meses
index.js f4b10b55a0 Initial commit hai 2 meses
package.json f4b10b55a0 Initial commit hai 2 meses

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