mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
minify resources
This commit is contained in:
parent
8a6884abef
commit
661eeac16e
201 changed files with 203 additions and 52376 deletions
|
@ -1,21 +1 @@
|
|||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
function navigateToComponents() {
|
||||
var apiClient = ApiClient;
|
||||
|
||||
apiClient.getJSON(apiClient.getUrl('Startup/Info')).then(function (info) {
|
||||
|
||||
if (info.HasMediaEncoder) {
|
||||
Dashboard.navigate('wizardagreement.html');
|
||||
|
||||
} else {
|
||||
Dashboard.navigate('wizardcomponents.html');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
navigateToComponents: navigateToComponents
|
||||
};
|
||||
});
|
||||
define([],function(){"use strict";function navigateToComponents(){var apiClient=ApiClient;apiClient.getJSON(apiClient.getUrl("Startup/Info")).then(function(info){info.HasMediaEncoder?Dashboard.navigate("wizardagreement.html"):Dashboard.navigate("wizardcomponents.html")})}return{navigateToComponents:navigateToComponents}});
|
Loading…
Add table
Add a link
Reference in a new issue