mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update web components
This commit is contained in:
parent
909402537a
commit
fcdd2e4f4b
114 changed files with 1611 additions and 1238 deletions
|
@ -1,10 +1,6 @@
|
|||
(function (globalScope, JSON) {
|
||||
define(['events'], function (Events) {
|
||||
|
||||
if (!globalScope.MediaBrowser) {
|
||||
globalScope.MediaBrowser = {};
|
||||
}
|
||||
|
||||
globalScope.MediaBrowser.CredentialProvider = function (key) {
|
||||
return function (key) {
|
||||
|
||||
var self = this;
|
||||
var credentials = null;
|
||||
|
@ -16,7 +12,7 @@
|
|||
|
||||
var json = appStorage.getItem(key) || '{}';
|
||||
|
||||
Logger.log('credentials initialized with: ' + json);
|
||||
console.log('credentials initialized with: ' + json);
|
||||
credentials = JSON.parse(json);
|
||||
credentials.Servers = credentials.Servers || [];
|
||||
}
|
||||
|
@ -127,5 +123,4 @@
|
|||
}
|
||||
};
|
||||
};
|
||||
|
||||
})(window, window.JSON);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue