陈鹏铭 3283bca5a2 1 8 months ago
..
test 3283bca5a2 1 8 months ago
.editorconfig fe36a53a7d 首次提交 8 months ago
.eslintrc fe36a53a7d 首次提交 8 months ago
.jscs.json fe36a53a7d 首次提交 8 months ago
.npmignore fe36a53a7d 首次提交 8 months ago
.travis.yml fe36a53a7d 首次提交 8 months ago
LICENSE fe36a53a7d 首次提交 8 months ago
README.md fe36a53a7d 首次提交 8 months ago
implementation.js fe36a53a7d 首次提交 8 months ago
index.js fe36a53a7d 首次提交 8 months ago
package.json fe36a53a7d 首次提交 8 months 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