Handy_Cao 6934691a7d 代码提交; пре 3 година
..
test 6934691a7d 代码提交; пре 3 година
.editorconfig 6934691a7d 代码提交; пре 3 година
.eslintrc 6934691a7d 代码提交; пре 3 година
.jscs.json 6934691a7d 代码提交; пре 3 година
.npmignore 6934691a7d 代码提交; пре 3 година
.travis.yml 6934691a7d 代码提交; пре 3 година
LICENSE 6934691a7d 代码提交; пре 3 година
README.md 6934691a7d 代码提交; пре 3 година
implementation.js 6934691a7d 代码提交; пре 3 година
index.js 6934691a7d 代码提交; пре 3 година
package.json 6934691a7d 代码提交; пре 3 година

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