linweizeng 9fe04cf7a7 update node_modules 3 vuotta sitten
..
test 9fe04cf7a7 update node_modules 3 vuotta sitten
.editorconfig 9fe04cf7a7 update node_modules 3 vuotta sitten
.eslintrc 9fe04cf7a7 update node_modules 3 vuotta sitten
.jscs.json 9fe04cf7a7 update node_modules 3 vuotta sitten
.npmignore 9fe04cf7a7 update node_modules 3 vuotta sitten
.travis.yml 9fe04cf7a7 update node_modules 3 vuotta sitten
LICENSE 9fe04cf7a7 update node_modules 3 vuotta sitten
README.md 9fe04cf7a7 update node_modules 3 vuotta sitten
implementation.js 9fe04cf7a7 update node_modules 3 vuotta sitten
index.js 9fe04cf7a7 update node_modules 3 vuotta sitten
package.json 9fe04cf7a7 update node_modules 3 vuotta sitten

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