1
0
root f4b10b55a0 Initial commit 2 сар өмнө
..
test f4b10b55a0 Initial commit 2 сар өмнө
.editorconfig f4b10b55a0 Initial commit 2 сар өмнө
.eslintrc f4b10b55a0 Initial commit 2 сар өмнө
.jscs.json f4b10b55a0 Initial commit 2 сар өмнө
.npmignore f4b10b55a0 Initial commit 2 сар өмнө
.travis.yml f4b10b55a0 Initial commit 2 сар өмнө
LICENSE f4b10b55a0 Initial commit 2 сар өмнө
README.md f4b10b55a0 Initial commit 2 сар өмнө
implementation.js f4b10b55a0 Initial commit 2 сар өмнө
index.js f4b10b55a0 Initial commit 2 сар өмнө
package.json f4b10b55a0 Initial commit 2 сар өмнө

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