root 7621d6d22a 221005-1449-Kim | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
test | %!s(int64=2) %!d(string=hai) anos | |
.editorconfig | %!s(int64=2) %!d(string=hai) anos | |
.eslintrc | %!s(int64=2) %!d(string=hai) anos | |
.jscs.json | %!s(int64=2) %!d(string=hai) anos | |
.npmignore | %!s(int64=2) %!d(string=hai) anos | |
.travis.yml | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
implementation.js | %!s(int64=2) %!d(string=hai) anos | |
index.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos |
Implementation of function.prototype.bind
I mainly do this for unit tests I run on phantomjs. PhantomJS does not have Function.prototype.bind :(
Function.prototype.bind = require("function-bind")
npm install function-bind