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

start replacing jquery ajax with fetch

This commit is contained in:
Luke Pulverenti 2015-11-22 13:17:58 -05:00
parent ffb022d13c
commit 62b528a41c
20 changed files with 547 additions and 69 deletions

View file

@ -2265,6 +2265,10 @@ var AppInfo = {};
deps.push('bower_components/native-promise-only/lib/npo.src');
}
if (!window.fetch) {
deps.push('bower_components/fetch/fetch');
}
require(deps, function () {
loadImageCache();
@ -2330,7 +2334,7 @@ var AppInfo = {};
function onConnectionManagerCreated(deferred) {
Globalize.ensure().done(function () {
Globalize.ensure().then(function () {
document.title = Globalize.translateDocument(document.title, 'html');
$(function () {