Cleaned up the dependencies
authorAlexander Ebert <ebert@woltlab.com>
Tue, 18 Aug 2020 14:56:29 +0000 (16:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 18 Aug 2020 14:56:29 +0000 (16:56 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js

index 5aad47ce2291320efa67dfea5c5bf5de1d6b3ec7..fa330f34707e38dd5c9c6cf0ef2e84ab8def0f13 100644 (file)
@@ -9,22 +9,29 @@
  */
 define(
        [
-               'Ajax',      'Core',                            'Dictionary',           'Language',
-               'ObjectMap', 'StringUtil',                      'Dom/ChangeListener',   'Dom/Util',
-               'Ui/Dialog', 'WoltLabSuite/Core/Ui/User/List',  'User',                 'WoltLabSuite/Core/Ui/Reaction/CountButtons',
-               'Ui/Alignment', 'Ui/CloseOverlay'
+               'Ajax',
+               'Core',
+               'Dictionary',           
+               'Dom/ChangeListener',
+               'Dom/Util',
+               'Ui/Alignment',
+               'Ui/CloseOverlay',
+               'Ui/Screen',
+               'WoltLabSuite/Core/Ui/Reaction/CountButtons',
        ],
        function(
-               Ajax,        Core,              Dictionary,             Language,
-               ObjectMap,   StringUtil,        DomChangeListener,      DomUtil,
-               UiDialog,    UiUserList,        User,                   CountButtons,
-               UiAlignment, UiCloseOverlay
-       )
-       {
+               Ajax,
+               Core,
+               Dictionary,             
+               DomChangeListener,
+               DomUtil,
+               UiAlignment,
+               UiCloseOverlay,
+               UiScreen,
+               CountButtons
+       ) {
                "use strict";
                
-               var UiScreen = require('Ui/Screen');
-               
                /**
                 * @constructor
                 */