From 0573cb80b0a44eee25f05ae90a633b083f5e4496 Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Thu, 11 Oct 2018 16:17:58 +0800 Subject: [PATCH] update files name --- src/controls/{play.js => highlight.js} | 0 src/controls/playAndPause.js | 0 src/{danmu.js => danmaku.js} | 0 src/index.js | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename src/controls/{play.js => highlight.js} (100%) create mode 100644 src/controls/playAndPause.js rename src/{danmu.js => danmaku.js} (100%) diff --git a/src/controls/play.js b/src/controls/highlight.js similarity index 100% rename from src/controls/play.js rename to src/controls/highlight.js diff --git a/src/controls/playAndPause.js b/src/controls/playAndPause.js new file mode 100644 index 000000000..e69de29bb diff --git a/src/danmu.js b/src/danmaku.js similarity index 100% rename from src/danmu.js rename to src/danmaku.js diff --git a/src/index.js b/src/index.js index 752c8a3f1..fa48e3f5c 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,7 @@ import I18n from './i18n'; import Player from './player'; import Controls from './controls'; import Contextmenu from './contextmenu'; -import Danmu from './danmu'; +import Danmaku from './danmaku'; import Info from './info'; import Subtitle from './subtitle'; import Events from './events'; @@ -81,7 +81,7 @@ class Artplayer extends Emitter { this.player = new Player(this); this.controls = new Controls(this); this.contextmenu = new Contextmenu(this); - this.danmu = new Danmu(this); + this.danmaku = new Danmaku(this); this.subtitle = new Subtitle(this); this.info = new Info(this); this.events = new Events(this);