“zq” 8b847f928a 更新请求地址 пре 1 година
..
test 8b847f928a 更新请求地址 пре 1 година
.editorconfig 8b847f928a 更新请求地址 пре 1 година
.eslintrc 8b847f928a 更新请求地址 пре 1 година
.jscs.json 8b847f928a 更新请求地址 пре 1 година
.npmignore 8b847f928a 更新请求地址 пре 1 година
.travis.yml 8b847f928a 更新请求地址 пре 1 година
LICENSE 8b847f928a 更新请求地址 пре 1 година
README.md 8b847f928a 更新请求地址 пре 1 година
implementation.js 8b847f928a 更新请求地址 пре 1 година
index.js 8b847f928a 更新请求地址 пре 1 година
package.json 8b847f928a 更新请求地址 пре 1 година

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