调整组件公共函数

This commit is contained in:
Harvey Zack committed 2018-11-22 16:29:00 +08:00
1 parent 8619fa1b8b
commit c882814fb0
8 files changed
+167 -23

No files matched your search

+2 -2
View File
@@ -2,14 +2,14 @@ import './index.scss';
import i18nMix from './i18nMix';
import contextmenuMix from './contextmenuMix';
import settingMix from './settingMix';
import ControlMix from './controlMix';
import controlMix from './controlMix';
function artplayerPluginDanmu(Artplayer) {
const art = Artplayer.prototype;
i18nMix(art);
contextmenuMix(art);
settingMix(art);
ControlMix(art);
controlMix(art);
}
window.artplayerPluginDanmu = artplayerPluginDanmu;