huanggang 03a863fb53 add node_modules vor 8 Jahren
..
test 03a863fb53 add node_modules vor 8 Jahren
.eslintrc 03a863fb53 add node_modules vor 8 Jahren
.jscs.json 03a863fb53 add node_modules vor 8 Jahren
.npmignore 03a863fb53 add node_modules vor 8 Jahren
.travis.yml 03a863fb53 add node_modules vor 8 Jahren
LICENSE 03a863fb53 add node_modules vor 8 Jahren
README.md 03a863fb53 add node_modules vor 8 Jahren
implementation.js 03a863fb53 add node_modules vor 8 Jahren
index.js 03a863fb53 add node_modules vor 8 Jahren
package.json 03a863fb53 add node_modules vor 8 Jahren

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