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

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