From e3aaea8035714bd510a60d09079805873812d337 Mon Sep 17 00:00:00 2001 From: djmaze Date: Thu, 16 Jul 2020 19:49:56 +0200 Subject: [PATCH] Get rid of jQuery.wakup Get rid of jQuery UI resizable (use HTML5 with ResizeObserver/MutationObserver, work-in-progress not as beautiful yet) Get rid of hidden download() iframe --- dev/App/Abstract.js | 60 +- dev/App/User.js | 245 ++-- dev/Styles/Layout.less | 32 +- dev/Styles/Ui.less | 9 - dev/Styles/_End.less | 5 - tasks/config.js | 1 - .../jquery-ui/js/jquery-ui-1.12.1.custom.js | 1180 +---------------- .../js/jquery-ui-1.12.1.custom.min.js | 2 +- vendors/jquery-wakeup/jquery.wakeup.js | 70 - 9 files changed, 121 insertions(+), 1483 deletions(-) delete mode 100644 vendors/jquery-wakeup/jquery.wakeup.js diff --git a/dev/App/Abstract.js b/dev/App/Abstract.js index 8cababa6e..879df4eae 100644 --- a/dev/App/Abstract.js +++ b/dev/App/Abstract.js @@ -1,5 +1,4 @@ import window from 'window'; -import $ from '$'; import _ from '_'; import ko from 'ko'; import key from 'key'; @@ -10,7 +9,6 @@ import { $htmlCL, leftPanelDisabled, leftPanelType, - sUserAgent, bMobileDevice, bAnimationSupported } from 'Common/Globals'; @@ -37,11 +35,8 @@ class AbstractApp extends AbstractBoot { super(); this.isLocalAutocomplete = true; - this.iframe = null; this.lastErrorTime = 0; - this.iframe = $('