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

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