Denis 346b78aee1 first commit 2 rokov pred
..
test 346b78aee1 first commit 2 rokov pred
.editorconfig 346b78aee1 first commit 2 rokov pred
.eslintrc 346b78aee1 first commit 2 rokov pred
.jscs.json 346b78aee1 first commit 2 rokov pred
.npmignore 346b78aee1 first commit 2 rokov pred
.travis.yml 346b78aee1 first commit 2 rokov pred
LICENSE 346b78aee1 first commit 2 rokov pred
README.md 346b78aee1 first commit 2 rokov pred
implementation.js 346b78aee1 first commit 2 rokov pred
index.js 346b78aee1 first commit 2 rokov pred
package.json 346b78aee1 first commit 2 rokov pred

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