diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-09-30 09:49:13 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-09-30 17:55:20 +0200 |
commit | b698f809de908535acd93c690d90d867622ddd7e (patch) | |
tree | 0929237517ef5edde429a1ab615bcc22222f773b /tests/visual/addClass/queue.html | |
parent | c02f59981f4c8aa2c606e22e0325dd34457c8b45 (diff) | |
download | jquery-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/addClass/queue.html')
-rw-r--r-- | tests/visual/addClass/queue.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/visual/addClass/queue.html b/tests/visual/addClass/queue.html index 88611ddc4..c939dce91 100644 --- a/tests/visual/addClass/queue.html +++ b/tests/visual/addClass/queue.html @@ -4,8 +4,6 @@ <meta charset="utf-8"> <title>addClass Visual Test : Queue</title> <link rel="stylesheet" href="../../../themes/base/all.css"> - <script src="../../../external/jquery/jquery.js"></script> - <script src="../../../ui/effect.js"></script> <style> .box { width: 100px; @@ -22,8 +20,8 @@ background-color: #00f; } </style> - <script> - $(function() { + <script src="../../../external/requirejs/require.js"></script> + <script src="../../../demos/bootstrap.js" data-modules="effect" data-composite="true"> $( "#box1" ) .delay( 500 ) .addClass( "red", 2000 ) @@ -37,7 +35,6 @@ .addClass( "green", 2000 ) .delay( 500 ) .addClass( "blue", 2000 ); - }); </script> </head> <body> |