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

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