lihai 8d6c751f49 feat: push 2 anni fa
..
test 8d6c751f49 feat: push 2 anni fa
.editorconfig 8d6c751f49 feat: push 2 anni fa
.eslintrc 8d6c751f49 feat: push 2 anni fa
.jscs.json 8d6c751f49 feat: push 2 anni fa
.npmignore 8d6c751f49 feat: push 2 anni fa
.travis.yml 8d6c751f49 feat: push 2 anni fa
LICENSE 8d6c751f49 feat: push 2 anni fa
README.md 8d6c751f49 feat: push 2 anni fa
implementation.js 8d6c751f49 feat: push 2 anni fa
index.js 8d6c751f49 feat: push 2 anni fa
package.json 8d6c751f49 feat: push 2 anni fa

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