summaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js29
1 files changed, 6 insertions, 23 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 8affec0a6a6..391941655ae 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -22,29 +22,12 @@
import _ from 'underscore'
import $ from 'jquery'
import 'jquery-migrate/dist/jquery-migrate.min'
-import 'jquery-ui'
-// TODO: remove anything that is not really used
-import 'jquery-ui/ui/widgets/accordion'
-import 'jquery-ui/ui/widgets/autocomplete'
-import 'jquery-ui/ui/widgets/button'
-import 'jquery-ui/ui/widgets/checkboxradio'
-import 'jquery-ui/ui/widgets/controlgroup'
-import 'jquery-ui/ui/widgets/datepicker'
-import 'jquery-ui/ui/widgets/dialog'
-import 'jquery-ui/ui/widgets/draggable'
-import 'jquery-ui/ui/widgets/droppable'
-import 'jquery-ui/ui/widgets/menu'
-import 'jquery-ui/ui/widgets/mouse'
-import 'jquery-ui/ui/widgets/progressbar'
-import 'jquery-ui/ui/widgets/resizable'
-import 'jquery-ui/ui/widgets/selectable'
-import 'jquery-ui/ui/widgets/selectmenu'
-import 'jquery-ui/ui/widgets/slider'
-import 'jquery-ui/ui/widgets/sortable'
-import 'jquery-ui/ui/widgets/tabs'
-import 'jquery-ui/ui/widgets/tooltip'
-// TODO END
-import 'jquery-ui/themes/base/all.css'
+// TODO: switch to `jquery-ui` package and import widgets and effects individually
+// `jquery-ui-dist` is used as a workaround for the issue of missing effects
+import 'jquery-ui-dist/jquery-ui'
+import 'jquery-ui-dist/jquery-ui.css'
+import 'jquery-ui-dist/jquery-ui.theme.css'
+// END TODO
import autosize from 'autosize'
import Backbone from 'backbone'
import 'bootstrap/js/tooltip'