mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
Fix typo DEBUG
This commit is contained in:
1 parent
bffa21364c
commit
417964d183
15 files changed
+81
-1136
No files matched your search
@@ -229,7 +229,7 @@ class Artplayer extends (0, _emitterDefault.default) {
|
||||
this.plugins = new (0, _pluginsDefault.default)(this);
|
||||
} else this.mobile = new (0, _mobileDefault.default)(this);
|
||||
if (typeof readyCallback === "function") this.on("ready", ()=>readyCallback.call(this, this));
|
||||
if (Artplayer.DEGUG) {
|
||||
if (Artplayer.DEBUG) {
|
||||
const log = (msg)=>console.log(`[ART.${this.id}] -> ${msg}`);
|
||||
log("Version@" + Artplayer.version);
|
||||
log("Env@" + Artplayer.env);
|
||||
@@ -355,7 +355,7 @@ class Artplayer extends (0, _emitterDefault.default) {
|
||||
}
|
||||
}
|
||||
exports.default = Artplayer;
|
||||
Artplayer.DEGUG = false;
|
||||
Artplayer.DEBUG = false;
|
||||
Artplayer.CONTEXTMENU = true;
|
||||
Artplayer.NOTICE_TIME = 2000;
|
||||
Artplayer.SETTING_WIDTH = 250;
|
||||
|
||||
Reference in new issue
Block a user