diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/controlgroup/default.html | 14 | ||||
-rw-r--r-- | demos/controlgroup/splitbutton.html | 14 | ||||
-rw-r--r-- | demos/controlgroup/toolbar.html | 14 |
3 files changed, 6 insertions, 36 deletions
diff --git a/demos/controlgroup/default.html b/demos/controlgroup/default.html index 0fc963537..3206c74cb 100644 --- a/demos/controlgroup/default.html +++ b/demos/controlgroup/default.html @@ -4,23 +4,13 @@ <meta charset="utf-8"> <title>jQuery UI Controlgroup - Default Functionality</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/button.js"></script> - <script src="../../ui/checkboxradio.js"></script> - <script src="../../ui/menu.js"></script> - <script src="../../ui/position.js"></script> - <script src="../../ui/selectmenu.js"></script> - <script src="../../ui/controlgroup.js"></script> <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( ".controlgroup" ).controlgroup() $( ".controlgroup-vertical" ).controlgroup({ "direction": "vertical" }); - }); </script> <style> .ui-controlgroup-vertical { diff --git a/demos/controlgroup/splitbutton.html b/demos/controlgroup/splitbutton.html index a72cefd96..763c14dad 100644 --- a/demos/controlgroup/splitbutton.html +++ b/demos/controlgroup/splitbutton.html @@ -4,18 +4,9 @@ <meta charset="utf-8"> <title>jQuery UI Controlgroup - Split Button</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/button.js"></script> - <script src="../../ui/checkboxradio.js"></script> - <script src="../../ui/menu.js"></script> - <script src="../../ui/position.js"></script> - <script src="../../ui/selectmenu.js"></script> - <script src="../../ui/controlgroup.js"></script> <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="button checkboxradio selectmenu"> $( "select" ).selectmenu({ classes: { "ui-selectmenu-button": "ui-button-icon-only" @@ -28,7 +19,6 @@ $( "button" ).click(function() { $( ".output" ).append( "<li>Running Last Action...</li>" ); }); - }); </script> </head> <body> diff --git a/demos/controlgroup/toolbar.html b/demos/controlgroup/toolbar.html index fb3172418..6153dff87 100644 --- a/demos/controlgroup/toolbar.html +++ b/demos/controlgroup/toolbar.html @@ -4,18 +4,9 @@ <meta charset="utf-8"> <title>jQuery UI Controlgroup - Toolbar</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/button.js"></script> - <script src="../../ui/checkboxradio.js"></script> - <script src="../../ui/menu.js"></script> - <script src="../../ui/position.js"></script> - <script src="../../ui/selectmenu.js"></script> - <script src="../../ui/controlgroup.js"></script> <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="button checkboxradio selectmenu"> var iframe = $( "<iframe id='display' contenteditable='true'>" ), contents = iframe.appendTo( "body" ); @@ -54,7 +45,6 @@ return false; }); }); - }); </script> <style> #zoom, #fontsize { |