陈鹏铭 93064e9f91 首次提交 il y a 11 mois
..
test 93064e9f91 首次提交 il y a 11 mois
.editorconfig 93064e9f91 首次提交 il y a 11 mois
.eslintrc 93064e9f91 首次提交 il y a 11 mois
.jscs.json 93064e9f91 首次提交 il y a 11 mois
.npmignore 93064e9f91 首次提交 il y a 11 mois
.travis.yml 93064e9f91 首次提交 il y a 11 mois
LICENSE 93064e9f91 首次提交 il y a 11 mois
README.md 93064e9f91 首次提交 il y a 11 mois
implementation.js 93064e9f91 首次提交 il y a 11 mois
index.js 93064e9f91 首次提交 il y a 11 mois
package.json 93064e9f91 首次提交 il y a 11 mois

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