smart-power-ui/node_modules/function-bind
23688nl 7a6d58607a 提交代码 2021-05-14 17:26:11 +08:00
..
test 提交代码 2021-05-14 17:26:11 +08:00
.editorconfig 提交代码 2021-05-14 17:26:11 +08:00
.eslintrc 提交代码 2021-05-14 17:26:11 +08:00
.jscs.json 提交代码 2021-05-14 17:26:11 +08:00
.npmignore 提交代码 2021-05-14 17:26:11 +08:00
.travis.yml 提交代码 2021-05-14 17:26:11 +08:00
LICENSE 提交代码 2021-05-14 17:26:11 +08:00
README.md 提交代码 2021-05-14 17:26:11 +08:00
implementation.js 提交代码 2021-05-14 17:26:11 +08:00
index.js 提交代码 2021-05-14 17:26:11 +08:00
package.json 提交代码 2021-05-14 17:26:11 +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