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

add comments

This commit is contained in:
Luke Pulverenti 2016-01-19 20:10:46 -05:00
parent c144fe57d4
commit 4b6e0fa3cb
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,7 @@
return new Promise(function (resolve, reject) {
if (getDictionary(name, culture)) {
console.log('Globalize loadDictionary resolved: ' + name);
resolve();
return;
}
@ -45,6 +46,7 @@
xhr2.onload = function (e) {
dictionaries[url] = JSON.parse(this.response);
console.log('Globalize loadDictionary resolved: ' + name);
resolve();
};
@ -58,6 +60,7 @@
if (this.status < 400) {
dictionaries[url] = JSON.parse(this.response);
console.log('Globalize loadDictionary resolved: ' + name);
resolve();
} else {