yrik 2fd3c19a01 提交 %!s(int64=4) %!d(string=hai) anos
..
test eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
.editorconfig eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
.eslintrc eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
.jscs.json eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
.npmignore eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
.travis.yml eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
LICENSE eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
README.md eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
implementation.js eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
index.js eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
package.json 2fd3c19a01 提交 %!s(int64=4) %!d(string=hai) anos

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