1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Migration of editorsidebar to ES6 module

This commit is contained in:
Cameron 2020-07-18 09:23:00 +01:00
parent 76a037b7c2
commit fc96cbd9ad
2 changed files with 9 additions and 3 deletions

View file

@ -164,6 +164,7 @@
"src/plugins/backdropScreensaver/plugin.js",
"src/components/filterdialog/filterdialog.js",
"src/components/fetchhelper.js",
"src/scripts/editorsidebar.js",
"src/scripts/globalize.js",
"src/scripts/keyboardNavigation.js",
"src/scripts/settings/appSettings.js",

View file

@ -1,5 +1,9 @@
define(['datetime', 'jQuery', 'globalize', 'material-icons'], function (datetime, $, globalize) {
'use strict';
import datetime from 'datetime';
import $ from 'jQuery';
import globalize from 'globalize';
import 'material-icons';
/* eslint-disable indent */
function getNode(item, folderState, selected) {
var htmlName = getNodeInnerHtml(item);
@ -331,4 +335,5 @@ define(['datetime', 'jQuery', 'globalize', 'material-icons'], function (datetime
getCurrentItemId: getCurrentItemId,
setCurrentItemId: setCurrentItemId
};
});
/* eslint-enable indent */