aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/compound/dialog_widgets.html
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-30 09:49:13 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-30 17:55:20 +0200
commitb698f809de908535acd93c690d90d867622ddd7e (patch)
tree0929237517ef5edde429a1ab615bcc22222f773b /tests/visual/compound/dialog_widgets.html
parentc02f59981f4c8aa2c606e22e0325dd34457c8b45 (diff)
downloadjquery-ui-b698f809de908535acd93c690d90d867622ddd7e.tar.gz
jquery-ui-b698f809de908535acd93c690d90d867622ddd7e.zip
Tests: Use demo bootstrap for visual tests
Adds a data-composite option and fixes paths for effects. Otherwise just applies the same conversion as already applied to demos, sometimes moving a <style> element to the right place.
Diffstat (limited to 'tests/visual/compound/dialog_widgets.html')
-rw-r--r--tests/visual/compound/dialog_widgets.html25
1 files changed, 4 insertions, 21 deletions
diff --git a/tests/visual/compound/dialog_widgets.html b/tests/visual/compound/dialog_widgets.html
index 2258231e9..f84ef0123 100644
--- a/tests/visual/compound/dialog_widgets.html
+++ b/tests/visual/compound/dialog_widgets.html
@@ -5,26 +5,10 @@
<title>Compound Visual Test : All Widgets in Dialog</title>
<link rel="stylesheet" href="../visual.css">
<link rel="stylesheet" href="../../../themes/base/all.css">
- <script src="../../../external/jquery/jquery.js"></script>
- <script src="../../../ui/core.js"></script>
- <script src="../../../ui/widget.js"></script>
- <script src="../../../ui/mouse.js"></script>
- <script src="../../../ui/position.js"></script>
- <script src="../../../ui/menu.js"></script>
- <script src="../../../ui/resizable.js"></script>
- <script src="../../../ui/draggable.js"></script>
- <script src="../../../ui/accordion.js"></script>
- <script src="../../../ui/autocomplete.js"></script>
- <script src="../../../ui/button.js"></script>
- <script src="../../../ui/datepicker.js"></script>
- <script src="../../../ui/dialog.js"></script>
- <script src="../../../ui/progressbar.js"></script>
- <script src="../../../ui/slider.js"></script>
- <script src="../../../ui/tabs.js"></script>
- <script src="../../../ui/tooltip.js"></script>
- <script src="../../../ui/selectmenu.js"></script>
- <script>
- $(function() {
+ <script src="../../../external/requirejs/require.js"></script>
+ <script src="../../../demos/bootstrap.js"
+ data-modules="accordion autocomplete button datepicker dialog progressbar slider tabs tooltip selectmenu"
+ data-composite="true">
$( "#dialog" ).dialog();
$( "[title]" ).tooltip();
$( "#accordion" ).accordion();
@@ -54,7 +38,6 @@
height: 75,
modal: true
});
- });
</script>
</head>
<body>