tvbox_config/open/node_modules/function-bind
liushiquan 36ab603d34 init
2024-06-01 22:41:46 +08:00
..
test init 2024-06-01 22:41:46 +08:00
.editorconfig init 2024-06-01 22:41:46 +08:00
.eslintrc init 2024-06-01 22:41:46 +08:00
.jscs.json init 2024-06-01 22:41:46 +08:00
.npmignore init 2024-06-01 22:41:46 +08:00
.travis.yml init 2024-06-01 22:41:46 +08:00
implementation.js init 2024-06-01 22:41:46 +08:00
index.js init 2024-06-01 22:41:46 +08:00
LICENSE init 2024-06-01 22:41:46 +08:00
package.json init 2024-06-01 22:41:46 +08:00
README.md init 2024-06-01 22:41:46 +08:00

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