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

bundle jquery and enable animations for metadata page

This commit is contained in:
dkanada 2019-09-12 04:01:53 -07:00
parent 26644c06c4
commit 0aca394e1e
6 changed files with 8 additions and 2635 deletions

View file

@ -227,12 +227,6 @@ var AppInfo = {};
!function () {
"use strict";
function onApiClientCreated(e, newApiClient) {
if (window.$) {
$.ajax = newApiClient.ajax;
}
}
function defineConnectionManager(connectionManager) {
window.ConnectionManager = connectionManager;
define("connectionManager", [], function () {
@ -242,7 +236,6 @@ var AppInfo = {};
function bindConnectionManagerEvents(connectionManager, events, userSettings) {
window.Events = events;
events.on(ConnectionManager, "apiclientcreated", onApiClientCreated);
connectionManager.currentApiClient = function () {
if (!localApiClient) {
@ -805,7 +798,7 @@ var AppInfo = {};
}
},
bundles: {
bundle: ["jstree", "hlsjs", "howler", "libjass"]
bundle: ["jstree", "jQuery", "hlsjs", "howler", "libjass"]
},
urlArgs: urlArgs,
paths: paths,
@ -854,13 +847,6 @@ var AppInfo = {};
define("queryString", [bowerPath + "/query-string/index"], function () {
return queryString;
});
define("jQuery", [bowerPath + "/jquery/dist/jquery.slim.min"], function () {
if (window.ApiClient) {
jQuery.ajax = ApiClient.ajax;
}
return jQuery;
});
define("fnchecked", ["legacy/fnchecked"], returnFirstDependency);
define("dialogHelper", [componentsPath + "/dialogHelper/dialogHelper"], returnFirstDependency);
define("inputmanager", ["inputManager"], returnFirstDependency);