陈鹏铭 3283bca5a2 1 hai 8 meses
..
test 3283bca5a2 1 hai 8 meses
.editorconfig fe36a53a7d 首次提交 hai 8 meses
.eslintrc fe36a53a7d 首次提交 hai 8 meses
.jscs.json fe36a53a7d 首次提交 hai 8 meses
.npmignore fe36a53a7d 首次提交 hai 8 meses
.travis.yml fe36a53a7d 首次提交 hai 8 meses
LICENSE fe36a53a7d 首次提交 hai 8 meses
README.md fe36a53a7d 首次提交 hai 8 meses
implementation.js fe36a53a7d 首次提交 hai 8 meses
index.js fe36a53a7d 首次提交 hai 8 meses
package.json fe36a53a7d 首次提交 hai 8 meses

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