陈鹏铭 ac63ce6cb5 首次提交 1 yıl önce
..
test ac63ce6cb5 首次提交 1 yıl önce
.editorconfig ac63ce6cb5 首次提交 1 yıl önce
.eslintrc ac63ce6cb5 首次提交 1 yıl önce
.jscs.json ac63ce6cb5 首次提交 1 yıl önce
.npmignore ac63ce6cb5 首次提交 1 yıl önce
.travis.yml ac63ce6cb5 首次提交 1 yıl önce
LICENSE ac63ce6cb5 首次提交 1 yıl önce
README.md ac63ce6cb5 首次提交 1 yıl önce
implementation.js ac63ce6cb5 首次提交 1 yıl önce
index.js ac63ce6cb5 首次提交 1 yıl önce
package.json ac63ce6cb5 首次提交 1 yıl ö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