From eac2a85478fc2e7348759ae6a32eb775c0469a5f Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Fri, 23 Nov 2018 17:58:51 +0300 Subject: [PATCH] API reformat. --- Launcher/runtime/engine/api.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Launcher/runtime/engine/api.js b/Launcher/runtime/engine/api.js index ea33458c..92ccf4a7 100644 --- a/Launcher/runtime/engine/api.js +++ b/Launcher/runtime/engine/api.js @@ -71,14 +71,20 @@ var LauncherSettings = LauncherSettingsClass.static; // Helper JS class API imports var JSApplication = null; +var CheckComboBox = null; +var CheckModel = null; +var IndexedCheckModel = null; +var CheckComboBoxSkin = null; +var RingProgressIndicator = null; +var RingProgressIndicatorSkin = null; if (typeof JSApplicationClass !== 'undefined') { JSApplication = JSApplicationClass.static; - var CheckComboBox = CheckComboBoxClass.static; - var CheckModel = CheckModelClass.static; - var IndexedCheckModel = IndexedCheckModelClass.static; - var CheckComboBoxSkin = CheckComboBoxSkinClass.static; - var RingProgressIndicator = RingProgressIndicatorClass.static; - var RingProgressIndicatorSkin = RingProgressIndicatorSkinClass.static; + CheckComboBox = CheckComboBoxClass.static; + CheckModel = CheckModelClass.static; + IndexedCheckModel = IndexedCheckModelClass.static; + CheckComboBoxSkin = CheckComboBoxSkinClass.static; + RingProgressIndicator = RingProgressIndicatorClass.static; + RingProgressIndicatorSkin = RingProgressIndicatorSkinClass.static; } // API wrapper