robert2206 8ad867f7a5 commit inicial 8 năm trước cách đây
..
test 8ad867f7a5 commit inicial 8 năm trước cách đây
.eslintrc 8ad867f7a5 commit inicial 8 năm trước cách đây
.jscs.json 8ad867f7a5 commit inicial 8 năm trước cách đây
.npmignore 8ad867f7a5 commit inicial 8 năm trước cách đây
.travis.yml 8ad867f7a5 commit inicial 8 năm trước cách đây
LICENSE 8ad867f7a5 commit inicial 8 năm trước cách đây
README.md 8ad867f7a5 commit inicial 8 năm trước cách đây
implementation.js 8ad867f7a5 commit inicial 8 năm trước cách đây
index.js 8ad867f7a5 commit inicial 8 năm trước cách đây
package.json 8ad867f7a5 commit inicial 8 năm trước cách đây

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