陈鹏铭 93064e9f91 首次提交 11 meses atrás
..
test 93064e9f91 首次提交 11 meses atrás
.editorconfig 93064e9f91 首次提交 11 meses atrás
.eslintrc 93064e9f91 首次提交 11 meses atrás
.jscs.json 93064e9f91 首次提交 11 meses atrás
.npmignore 93064e9f91 首次提交 11 meses atrás
.travis.yml 93064e9f91 首次提交 11 meses atrás
LICENSE 93064e9f91 首次提交 11 meses atrás
README.md 93064e9f91 首次提交 11 meses atrás
implementation.js 93064e9f91 首次提交 11 meses atrás
index.js 93064e9f91 首次提交 11 meses atrás
package.json 93064e9f91 首次提交 11 meses atrás

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