mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use strict
This commit is contained in:
parent
fcbb3ccc58
commit
88d6c63263
180 changed files with 190 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'datetime', 'emby-select', 'paper-icon-button-light', 'formDialogStyle'], function (dialogHelper, datetime) {
|
||||
'use strict';
|
||||
|
||||
function getDisplayTime(hours) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['browser', 'css!./appfooter'], function (browser) {
|
||||
'use strict';
|
||||
|
||||
function render(options) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['appStorage', 'browser'], function (appStorage, browser) {
|
||||
'use strict';
|
||||
|
||||
function getDeviceProfile() {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['itemHelper'], function (itemHelper) {
|
||||
'use strict';
|
||||
|
||||
function initSyncButtons(view) {
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
define(['dialogHelper', 'loading', 'connectionManager', 'globalize', 'actionsheet', 'emby-input', 'paper-icon-button-light', 'emby-button', 'listViewStyle', 'material-icons', 'formDialogStyle'],
|
||||
function (dialogHelper, loading, connectionManager, globalize, actionsheet) {
|
||||
'use strict';
|
||||
|
||||
return function (options) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
// LinkParser
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'dom', 'listViewStyle', 'emby-input', 'emby-button', 'paper-icon-button-light', 'css!./directorybrowser', 'formDialogStyle'], function (dialogHelper, dom) {
|
||||
'use strict';
|
||||
|
||||
var systemInfo;
|
||||
function getSystemInfo() {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['apphost', 'connectionManager', 'events', 'globalize', 'browser', 'require', 'dom', 'embyRouter', 'emby-tabs'], function (appHost, connectionManager, events, globalize, browser, require, dom, embyRouter) {
|
||||
'use strict';
|
||||
|
||||
// Make sure this is pulled in after button and tab css
|
||||
require(['css!./dockedtabs']);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['libraryBrowser', 'cardBuilder', 'dom', 'apphost', 'scrollStyles', 'emby-itemscontainer'], function (libraryBrowser, cardBuilder, dom, appHost) {
|
||||
'use strict';
|
||||
|
||||
function enableScrollX() {
|
||||
return browserInfo.mobile && AppInfo.enableAppLayouts;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'emby-checkbox', 'emby-input', 'emby-button', 'emby-select', 'paper-icon-button-light', 'formDialogStyle'], function (dialogHelper) {
|
||||
'use strict';
|
||||
|
||||
var extractedName;
|
||||
var extractedYear;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'events', 'browser', 'emby-checkbox', 'emby-collapse', 'css!components/filterdialog/style'], function (dialogHelper, events, browser) {
|
||||
'use strict';
|
||||
|
||||
function renderOptions(context, selector, cssClass, items, isCheckedFn) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dom'], function (dom) {
|
||||
'use strict';
|
||||
|
||||
function onGroupedCardClick(e, card) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'jQuery', 'emby-input', 'emby-button', 'emby-collapse', 'paper-icon-button-light', 'formDialogStyle'], function (dialogHelper, $) {
|
||||
'use strict';
|
||||
|
||||
function updateUserInfo(user, newConnectUsername, actionCallback, noActionCallback) {
|
||||
var currentConnectUsername = user.ConnectUserName || '';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'jQuery', 'emby-input', 'emby-button', 'emby-checkbox', 'paper-icon-button-light', 'formDialogStyle'], function (dialogHelper, $) {
|
||||
'use strict';
|
||||
|
||||
function renderLibrarySharingList(context, result) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['datetime'], function (datetime) {
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
* Javascript Humane Dates
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['apphost', 'globalize', 'shell'], function (appHost, globalize, shell) {
|
||||
'use strict';
|
||||
|
||||
function getProductInfo(feature) {
|
||||
return null;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'emby-checkbox', 'emby-button', 'paper-icon-button-light', 'css!css/metadataeditor.css'], function (dialogHelper) {
|
||||
'use strict';
|
||||
|
||||
var currentItemId;
|
||||
var currentItemType;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'jQuery', 'emby-button', 'emby-select'], function (dialogHelper, $) {
|
||||
'use strict';
|
||||
|
||||
var currentItemId;
|
||||
var currentFile;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['globalize', 'emby-checkbox'], function (globalize) {
|
||||
'use strict';
|
||||
|
||||
function embed(parent, contentType, libraryOptions) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'jQuery', 'components/libraryoptionseditor/libraryoptionseditor', 'emby-input', 'emby-select', 'paper-icon-button-light', 'listViewStyle', 'formDialogStyle'], function (dialogHelper, $, libraryoptionseditor) {
|
||||
'use strict';
|
||||
|
||||
var currentDeferred;
|
||||
var hasChanges;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['dialogHelper', 'dom', 'components/libraryoptionseditor/libraryoptionseditor', 'emby-button', 'listViewStyle', 'paper-icon-button-light', 'formDialogStyle'], function (dialogHelper, dom, libraryoptionseditor) {
|
||||
'use strict';
|
||||
|
||||
var currentDeferred;
|
||||
var hasChanges;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['browser', 'css!./navdrawer', 'scrollStyles'], function (browser) {
|
||||
'use strict';
|
||||
|
||||
return function (options) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['browser', 'datetime', 'libraryBrowser', 'listView', 'userdataButtons', 'cardStyle'], function (browser, datetime, libraryBrowser, listView, userdataButtons) {
|
||||
'use strict';
|
||||
|
||||
function showSlideshowMenu(context) {
|
||||
require(['scripts/slideshow'], function () {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['events'], function (events) {
|
||||
'use strict';
|
||||
|
||||
function transferPlayback(oldPlayer) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['serverNotifications', 'events', 'loading', 'connectionManager', 'imageLoader', 'dom', 'globalize', 'listViewStyle'], function (serverNotifications, events, loading, connectionManager, imageLoader, dom, globalize) {
|
||||
'use strict';
|
||||
|
||||
function onSyncJobsUpdated(e, apiClient, data) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['jQuery','emby-checkbox', 'listViewStyle', 'emby-input', 'emby-select'], function ($) {
|
||||
'use strict';
|
||||
|
||||
return function (page, providerId, options) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['jQuery', 'registrationServices', 'emby-checkbox', 'emby-input', 'listViewStyle', 'paper-icon-button-light'], function ($, registrationServices) {
|
||||
'use strict';
|
||||
|
||||
return function (page, providerId, options) {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['browser'], function (browser) {
|
||||
'use strict';
|
||||
|
||||
var mainAnimatedPages = document.querySelector('.mainAnimatedPages');
|
||||
var allPages = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue