huanggang 03a863fb53 add node_modules 7 năm trước cách đây
..
test 03a863fb53 add node_modules 7 năm trước cách đây
.eslintrc 03a863fb53 add node_modules 7 năm trước cách đây
.jscs.json 03a863fb53 add node_modules 7 năm trước cách đây
.npmignore 03a863fb53 add node_modules 7 năm trước cách đây
.travis.yml 03a863fb53 add node_modules 7 năm trước cách đây
LICENSE 03a863fb53 add node_modules 7 năm trước cách đây
README.md 03a863fb53 add node_modules 7 năm trước cách đây
implementation.js 03a863fb53 add node_modules 7 năm trước cách đây
index.js 03a863fb53 add node_modules 7 năm trước cách đây
package.json 03a863fb53 add node_modules 7 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