aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/dialog/complex-dialogs.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/dialog/complex-dialogs.html')
-rw-r--r--tests/visual/dialog/complex-dialogs.html21
1 files changed, 2 insertions, 19 deletions
diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html
index 9a6209be9..0bea3414e 100644
--- a/tests/visual/dialog/complex-dialogs.html
+++ b/tests/visual/dialog/complex-dialogs.html
@@ -4,24 +4,8 @@
<meta charset="utf-8">
<title>Dialog Visual Test</title>
<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/draggable.js"></script>
- <script src="../../../ui/position.js"></script>
- <script src="../../../ui/resizable.js"></script>
- <script src="../../../ui/button.js"></script>
- <script src="../../../ui/dialog.js"></script>
-
- <!-- stuff needed to make things complex -->
- <script src="../../../ui/datepicker.js"></script>
- <script src="../../../ui/menu.js"></script>
- <script src="../../../ui/autocomplete.js"></script>
- <script src="../../../ui/tooltip.js"></script>
-
- <script>
- $(function() {
+ <script src="../../../external/requirejs/require.js"></script>
+ <script src="../../../demos/bootstrap.js" data-modules="datepicker autocomplete tooltip">
var dialog = $( "#dialog" ).dialog({
modal: true,
width: 500,
@@ -87,7 +71,6 @@
});
$( document ).tooltip();
- });
</script>
</head>
<body>