update components
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.1.104",
|
||||
"_release": "1.1.104",
|
||||
"version": "1.1.105",
|
||||
"_release": "1.1.105",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.1.104",
|
||||
"commit": "61e924b71080aa117e48dc26323489895ffd62d1"
|
||||
"tag": "1.1.105",
|
||||
"commit": "d46515271d43d1b0f7dd19bb1834cfd457fb3326"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
||||
"_target": "^1.1.51",
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
resolve(response);
|
||||
}, function (error) {
|
||||
clearTimeout(timeout);
|
||||
reject();
|
||||
reject(error);
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -448,11 +448,14 @@
|
||||
|
||||
}, function (error) {
|
||||
|
||||
console.log("Request failed to " + request.url);
|
||||
|
||||
// http://api.jquery.com/jQuery.ajax/
|
||||
if (enableReconnection) {
|
||||
if (error) {
|
||||
console.log("Request failed to " + request.url + ' ' + error.toString());
|
||||
} else {
|
||||
console.log("Request timed out to " + request.url + ' ' + error.toString());
|
||||
}
|
||||
|
||||
// http://api.jquery.com/jQuery.ajax/
|
||||
if (!error && enableReconnection) {
|
||||
console.log("Attempting reconnection");
|
||||
|
||||
var previousServerAddress = self.serverAddress();
|
||||
|
||||
Reference in New Issue
Block a user