Andrea Fazzi 929328de94 Replace domain name 4 жил өмнө
..
test 994369ab61 First commit 7 жил өмнө
.eslintrc 994369ab61 First commit 7 жил өмнө
.jscs.json 994369ab61 First commit 7 жил өмнө
.npmignore 994369ab61 First commit 7 жил өмнө
.travis.yml 994369ab61 First commit 7 жил өмнө
LICENSE 994369ab61 First commit 7 жил өмнө
README.md 994369ab61 First commit 7 жил өмнө
implementation.js 994369ab61 First commit 7 жил өмнө
index.js 994369ab61 First commit 7 жил өмнө
package.json 929328de94 Replace domain name 4 жил өмнө

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