diff options
Diffstat (limited to 'tests/visual/compound/draggable_accordion.html')
-rw-r--r-- | tests/visual/compound/draggable_accordion.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/visual/compound/draggable_accordion.html b/tests/visual/compound/draggable_accordion.html index 528cdc321..345c0b038 100644 --- a/tests/visual/compound/draggable_accordion.html +++ b/tests/visual/compound/draggable_accordion.html @@ -5,20 +5,15 @@ <title>Compound Visual Test : Draggable in Accordion</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/accordion.js"></script> - <script src="../../../ui/draggable.js"></script> <style> .draggable { width: 10em; margin: 0.5em; } </style> - <script> - $(function() { + <script src="../../../external/requirejs/require.js"></script> + <script src="../../../demos/bootstrap.js" data-modules="accordion draggable" + data-composite="true"> $( ".draggable" ).addClass( "ui-widget ui-widget-content ui-corner-all" ) $( "#first .draggable" ).draggable(); $( "#second .draggable" ).draggable({ @@ -29,7 +24,6 @@ appendTo: "body" }); $( "#accordion" ).accordion(); - }); </script> </head> <body> |