添加Demo自适应

This commit is contained in:
Harvey Zack committed 2018-11-21 16:05:09 +08:00
1 parent e9d7c0cfdc
commit f75e01be3b
8 files changed
+65 -13

No files matched your search

-2
View File
@@ -25,11 +25,9 @@ let id = 0;
class Artplayer extends Emitter {
constructor(option) {
super();
this.emit('init:start');
this.option = utils.deepMerge({}, Artplayer.DEFAULTS, option);
optionValidator(this.option, scheme);
this.init();
this.emit('init:end');
}
static get version() {