qauMaWeb/node_modules/function-bind
赵向宇 4b9d619652 初始化 2024-10-13 18:02:27 +08:00
..
test 初始化 2024-10-13 18:02:27 +08:00
.editorconfig 初始化 2024-10-13 18:02:27 +08:00
.eslintrc 初始化 2024-10-13 18:02:27 +08:00
.jscs.json 初始化 2024-10-13 18:02:27 +08:00
.npmignore 初始化 2024-10-13 18:02:27 +08:00
.travis.yml 初始化 2024-10-13 18:02:27 +08:00
LICENSE 初始化 2024-10-13 18:02:27 +08:00
README.md 初始化 2024-10-13 18:02:27 +08:00
implementation.js 初始化 2024-10-13 18:02:27 +08:00
index.js 初始化 2024-10-13 18:02:27 +08:00
package.json 初始化 2024-10-13 18:02:27 +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