FlyUp/packages/字体精简工具/node_modules/function-bind
2024-07-10 18:24:08 +08:00
..
test 增加分享 2024-07-10 18:24:08 +08:00
.editorconfig 增加分享 2024-07-10 18:24:08 +08:00
.eslintrc 增加分享 2024-07-10 18:24:08 +08:00
.jscs.json 增加分享 2024-07-10 18:24:08 +08:00
.npmignore 增加分享 2024-07-10 18:24:08 +08:00
.travis.yml 增加分享 2024-07-10 18:24:08 +08:00
implementation.js 增加分享 2024-07-10 18:24:08 +08:00
index.js 增加分享 2024-07-10 18:24:08 +08:00
LICENSE 增加分享 2024-07-10 18:24:08 +08:00
package.json 增加分享 2024-07-10 18:24:08 +08:00
README.md 增加分享 2024-07-10 18:24:08 +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