陈鹏铭 3283bca5a2 1 8 mēneši atpakaļ
..
test 3283bca5a2 1 8 mēneši atpakaļ
.editorconfig fe36a53a7d 首次提交 8 mēneši atpakaļ
.eslintrc fe36a53a7d 首次提交 8 mēneši atpakaļ
.jscs.json fe36a53a7d 首次提交 8 mēneši atpakaļ
.npmignore fe36a53a7d 首次提交 8 mēneši atpakaļ
.travis.yml fe36a53a7d 首次提交 8 mēneši atpakaļ
LICENSE fe36a53a7d 首次提交 8 mēneši atpakaļ
README.md fe36a53a7d 首次提交 8 mēneši atpakaļ
implementation.js fe36a53a7d 首次提交 8 mēneši atpakaļ
index.js fe36a53a7d 首次提交 8 mēneši atpakaļ
package.json fe36a53a7d 首次提交 8 mēneši atpakaļ

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