linweizeng 9fe04cf7a7 update node_modules hace 3 años
..
test 9fe04cf7a7 update node_modules hace 3 años
.editorconfig 9fe04cf7a7 update node_modules hace 3 años
.eslintrc 9fe04cf7a7 update node_modules hace 3 años
.jscs.json 9fe04cf7a7 update node_modules hace 3 años
.npmignore 9fe04cf7a7 update node_modules hace 3 años
.travis.yml 9fe04cf7a7 update node_modules hace 3 años
LICENSE 9fe04cf7a7 update node_modules hace 3 años
README.md 9fe04cf7a7 update node_modules hace 3 años
implementation.js 9fe04cf7a7 update node_modules hace 3 años
index.js 9fe04cf7a7 update node_modules hace 3 años
package.json 9fe04cf7a7 update node_modules hace 3 años

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