linweizeng 9fe04cf7a7 update node_modules vor 3 Jahren
..
test 9fe04cf7a7 update node_modules vor 3 Jahren
.editorconfig 9fe04cf7a7 update node_modules vor 3 Jahren
.eslintrc 9fe04cf7a7 update node_modules vor 3 Jahren
.jscs.json 9fe04cf7a7 update node_modules vor 3 Jahren
.npmignore 9fe04cf7a7 update node_modules vor 3 Jahren
.travis.yml 9fe04cf7a7 update node_modules vor 3 Jahren
LICENSE 9fe04cf7a7 update node_modules vor 3 Jahren
README.md 9fe04cf7a7 update node_modules vor 3 Jahren
implementation.js 9fe04cf7a7 update node_modules vor 3 Jahren
index.js 9fe04cf7a7 update node_modules vor 3 Jahren
package.json 9fe04cf7a7 update node_modules vor 3 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