mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add constructor capitalization rule
This commit is contained in:
parent
8e2ea6812a
commit
ec0adb895b
43 changed files with 103 additions and 94 deletions
|
@ -1,4 +1,4 @@
|
|||
import tvguide from '../../components/guide/guide';
|
||||
import Guide from '../../components/guide/guide';
|
||||
|
||||
export default function (view, params, tabContent) {
|
||||
let guideInstance;
|
||||
|
@ -6,7 +6,7 @@ export default function (view, params, tabContent) {
|
|||
|
||||
self.renderTab = function () {
|
||||
if (!guideInstance) {
|
||||
guideInstance = new tvguide({
|
||||
guideInstance = new Guide({
|
||||
element: tabContent,
|
||||
serverId: ApiClient.serverId()
|
||||
});
|
||||
|
|
|
@ -274,7 +274,7 @@ export default function (view, params) {
|
|||
break;
|
||||
}
|
||||
|
||||
import(`../livetv/${depends}`).then(({ default: controllerFactory }) => {
|
||||
import(`../livetv/${depends}`).then(({ default: ControllerFactory }) => {
|
||||
let tabContent;
|
||||
|
||||
if (index === 0) {
|
||||
|
@ -290,7 +290,7 @@ export default function (view, params) {
|
|||
if (index === 0) {
|
||||
controller = self;
|
||||
} else {
|
||||
controller = new controllerFactory(view, params, tabContent);
|
||||
controller = new ControllerFactory(view, params, tabContent);
|
||||
}
|
||||
|
||||
tabControllers[index] = controller;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue