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