qol: update javascript bundling

This commit is contained in:
Gary Sharp
2022-02-18 13:52:31 +11:00
parent 9bfeff8c42
commit 09a6369693
20 changed files with 1569 additions and 256 deletions
@@ -8,8 +8,7 @@
*
*/
/// <reference path="Scripts/jquery-1.6.4.js" />
/// <reference path="jquery.signalR.version.js" />
/// <reference path="../Core/jquery-2.1.1.js" />
(function ($, window, undefined) {
var resources = {
@@ -1301,19 +1300,19 @@
return xhr;
},
ajaxAbort: function (connection, async) {
ajaxAbort: function (connection, doAsync) {
if (typeof (connection.transport) === "undefined") {
return;
}
// Async by default unless explicitly overidden
async = typeof async === "undefined" ? true : async;
doAsync = typeof doAsync === "undefined" ? true : doAsync;
var url = getAjaxUrl(connection, "/abort");
transportLogic.ajax(connection, {
url: url,
async: async,
async: doAsync,
timeout: 1000,
type: "POST"
});
@@ -2907,6 +2906,11 @@
registerHubProxies(proxies, false);
});
proxies['deviceBatchUpdates'] = this.createHubProxy('deviceBatchUpdates');
proxies['deviceBatchUpdates'].client = {};
proxies['deviceBatchUpdates'].server = {
};
proxies['deviceUpdates'] = this.createHubProxy('deviceUpdates');
proxies['deviceUpdates'].client = { };
proxies['deviceUpdates'].server = {