1
0
Fork 0
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:
Luke Pulverenti 2015-12-23 12:46:01 -05:00
parent 909402537a
commit fcdd2e4f4b
114 changed files with 1611 additions and 1238 deletions

View file

@ -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);
});