mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
build all packages
This commit is contained in:
1 parent
b787a3bb99
commit
a5cda26b80
16 files changed
+117
-91
No files matched your search
@@ -110,6 +110,7 @@ class Artplayer extends Emitter {
|
||||
this.template = new Template(this);
|
||||
if (this.whitelist.state) {
|
||||
this.isFocus = false;
|
||||
this.isDestroy = false;
|
||||
this.storage = new Storage(this);
|
||||
this.i18n = new I18n(this);
|
||||
this.notice = new Notice(this);
|
||||
@@ -140,6 +141,7 @@ class Artplayer extends Emitter {
|
||||
}
|
||||
this.template.destroy(removeHtml);
|
||||
Artplayer.instances.splice(Artplayer.instances.indexOf(this), 1);
|
||||
this.isDestroy = true;
|
||||
this.emit('destroy');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user