outaozhen bb52c63d7d 库提交 il y a 5 ans
..
test bb52c63d7d 库提交 il y a 5 ans
.editorconfig bb52c63d7d 库提交 il y a 5 ans
.eslintrc bb52c63d7d 库提交 il y a 5 ans
.jscs.json bb52c63d7d 库提交 il y a 5 ans
.npmignore bb52c63d7d 库提交 il y a 5 ans
.travis.yml bb52c63d7d 库提交 il y a 5 ans
LICENSE bb52c63d7d 库提交 il y a 5 ans
README.md bb52c63d7d 库提交 il y a 5 ans
implementation.js bb52c63d7d 库提交 il y a 5 ans
index.js bb52c63d7d 库提交 il y a 5 ans
package.json bb52c63d7d 库提交 il y a 5 ans

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