Fourth-assignment-vue/node_modules/function-bind
hezi66677 d61153663c 前端 2024-11-08 11:03:26 +08:00
..
test 前端 2024-11-08 11:03:26 +08:00
.editorconfig 前端 2024-11-08 11:03:26 +08:00
.eslintrc 前端 2024-11-08 11:03:26 +08:00
.jscs.json 前端 2024-11-08 11:03:26 +08:00
.npmignore 前端 2024-11-08 11:03:26 +08:00
.travis.yml 前端 2024-11-08 11:03:26 +08:00
LICENSE 前端 2024-11-08 11:03:26 +08:00
README.md 前端 2024-11-08 11:03:26 +08:00
implementation.js 前端 2024-11-08 11:03:26 +08:00
index.js 前端 2024-11-08 11:03:26 +08:00
package.json 前端 2024-11-08 11:03:26 +08:00

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