张益铭 9064b372e8 docs:更新文档 4 سال پیش
..
test 9064b372e8 docs:更新文档 4 سال پیش
.editorconfig 9064b372e8 docs:更新文档 4 سال پیش
.eslintrc 9064b372e8 docs:更新文档 4 سال پیش
.jscs.json 9064b372e8 docs:更新文档 4 سال پیش
.npmignore 9064b372e8 docs:更新文档 4 سال پیش
.travis.yml 9064b372e8 docs:更新文档 4 سال پیش
LICENSE 9064b372e8 docs:更新文档 4 سال پیش
README.md 9064b372e8 docs:更新文档 4 سال پیش
implementation.js 9064b372e8 docs:更新文档 4 سال پیش
index.js 9064b372e8 docs:更新文档 4 سال پیش
package.json 9064b372e8 docs:更新文档 4 سال پیش

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