add comments
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
|
|
||||||
if (getDictionary(name, culture)) {
|
if (getDictionary(name, culture)) {
|
||||||
|
console.log('Globalize loadDictionary resolved: ' + name);
|
||||||
resolve();
|
resolve();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
|
|
||||||
xhr2.onload = function (e) {
|
xhr2.onload = function (e) {
|
||||||
dictionaries[url] = JSON.parse(this.response);
|
dictionaries[url] = JSON.parse(this.response);
|
||||||
|
console.log('Globalize loadDictionary resolved: ' + name);
|
||||||
resolve();
|
resolve();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -58,6 +60,7 @@
|
|||||||
if (this.status < 400) {
|
if (this.status < 400) {
|
||||||
|
|
||||||
dictionaries[url] = JSON.parse(this.response);
|
dictionaries[url] = JSON.parse(this.response);
|
||||||
|
console.log('Globalize loadDictionary resolved: ' + name);
|
||||||
resolve();
|
resolve();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1028,6 +1028,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
MediaController.init = function () {
|
MediaController.init = function () {
|
||||||
|
|
||||||
|
console.log('Beginning MediaController.init');
|
||||||
if (window.ApiClient) {
|
if (window.ApiClient) {
|
||||||
initializeApiClient(window.ApiClient);
|
initializeApiClient(window.ApiClient);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user