diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-08-03 17:12:44 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-08-03 17:12:44 -0400 |
commit | 4adb9026eab43e36f78991cbe56088f2de110089 (patch) | |
tree | e0dc8936f9ecbd5e72db69bf3b1ffd7d1d48acbd /tests/unit/menu | |
parent | 6867e0b5517d4664e309652f807011ea350d1f67 (diff) | |
download | jquery-ui-4adb9026eab43e36f78991cbe56088f2de110089.tar.gz jquery-ui-4adb9026eab43e36f78991cbe56088f2de110089.zip |
Tests: Cleanup.
Diffstat (limited to 'tests/unit/menu')
-rw-r--r-- | tests/unit/menu/menu.html | 81 |
1 files changed, 39 insertions, 42 deletions
diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html index e1f79b0f9..551d171bd 100644 --- a/tests/unit/menu/menu.html +++ b/tests/unit/menu/menu.html @@ -1,52 +1,53 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> - <meta charset="UTF-8" /> + <meta charset="utf-8"> <title>jQuery UI Menu Test Suite</title> - <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" /> + <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css"> <script src="../../jquery.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script> - - <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/> - <script type="text/javascript" src="../../../external/qunit.js"></script> - <script type="text/javascript" src="../../jquery.simulate.js"></script> - <script type="text/javascript" src="../testsuite.js"></script> - - <script type="text/javascript"> - - function log(message,clear) { - if (clear && clear === true) { - $("#log").html(""); - } - if ( message === undefined ) { - message = $("#log").data("lastItem"); - } - $("#log").prepend( message + "," ); + <script src="../../../ui/jquery.ui.core.js"></script> + <script src="../../../ui/jquery.ui.widget.js"></script> + <script src="../../../ui/jquery.ui.menu.js"></script> + + <link rel="stylesheet" href="../../../external/qunit.css"> + <script src="../../../external/qunit.js"></script> + <script src="../../jquery.simulate.js"></script> + <script src="../testsuite.js"></script> + + <script> + function log(message,clear) { + if (clear && clear === true) { + $("#log").html(""); } - function clickMenu(menu,item) { - $("#log").data("lastItem",item); - $('li:eq(' + item + ') a',menu).trigger("click"); + if ( message === undefined ) { + message = $("#log").data("lastItem"); } - - + $("#log").prepend( message + "," ); + } + function clickMenu(menu,item) { + $("#log").data("lastItem",item); + $('li:eq(' + item + ') a',menu).trigger("click"); + } </script> - <script type="text/javascript" src="menu_core.js"></script> - <script type="text/javascript" src="menu_defaults.js"></script> - <script type="text/javascript" src="menu_events.js"></script> - <script type="text/javascript" src="menu_methods.js"></script> - <script type="text/javascript" src="menu_options.js"></script> + <script src="menu_core.js"></script> + <script src="menu_defaults.js"></script> + <script src="menu_events.js"></script> + <script src="menu_methods.js"></script> + <script src="menu_options.js"></script> <script type="text/javascript" src="../swarminject.js"></script> - <style> - #qunit-fixture { font-size: 10pt; font-family: 'trebuchet ms', verdana, arial; } - #list, #list1 *, #navigation, #navigation * { margin: 0; padding: 0; font-size: 12px; } - #menu3 { height: 250px; overflow: auto; } - #menu4, #menu4 ul { height: 250px; overflow: auto; } + #qunit-fixture { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; } + #menu3 { + height: 250px; + overflow: auto; + } + #menu4, #menu4 ul { + height: 250px; + overflow: auto; + } </style> </head> <body> @@ -55,10 +56,7 @@ <h2 id="qunit-banner"></h2> <div id="qunit-testrunner-toolbar"></div> <h2 id="qunit-userAgent"></h2> -<ol id="qunit-tests"> -</ol> - - +<ol id="qunit-tests"></ol> <div id="qunit-fixture"> <ul class="foo" id="menu1"> @@ -224,6 +222,5 @@ <div id="log"></div> </div> - </body> </html> |