陈鹏铭 ac63ce6cb5 首次提交 hai 1 ano
..
test ac63ce6cb5 首次提交 hai 1 ano
.editorconfig ac63ce6cb5 首次提交 hai 1 ano
.eslintrc ac63ce6cb5 首次提交 hai 1 ano
.jscs.json ac63ce6cb5 首次提交 hai 1 ano
.npmignore ac63ce6cb5 首次提交 hai 1 ano
.travis.yml ac63ce6cb5 首次提交 hai 1 ano
LICENSE ac63ce6cb5 首次提交 hai 1 ano
README.md ac63ce6cb5 首次提交 hai 1 ano
implementation.js ac63ce6cb5 首次提交 hai 1 ano
index.js ac63ce6cb5 首次提交 hai 1 ano
package.json ac63ce6cb5 首次提交 hai 1 ano

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