wqq ac853a7140 init 1 year ago
..
test ac853a7140 init 1 year ago
.editorconfig ac853a7140 init 1 year ago
.eslintrc ac853a7140 init 1 year ago
.jscs.json ac853a7140 init 1 year ago
.npmignore ac853a7140 init 1 year ago
.travis.yml ac853a7140 init 1 year ago
LICENSE ac853a7140 init 1 year ago
README.md ac853a7140 init 1 year ago
implementation.js ac853a7140 init 1 year ago
index.js ac853a7140 init 1 year ago
package.json ac853a7140 init 1 year ago

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