Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
wq dbcaee30a6 Initial commit 2 år sedan
..
test Initial commit 2 år sedan
.editorconfig Initial commit 2 år sedan
.eslintrc Initial commit 2 år sedan
.jscs.json Initial commit 2 år sedan
.npmignore Initial commit 2 år sedan
.travis.yml Initial commit 2 år sedan
LICENSE Initial commit 2 år sedan
README.md Initial commit 2 år sedan
implementation.js Initial commit 2 år sedan
index.js Initial commit 2 år sedan
package.json Initial commit 2 år sedan

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