diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-14 09:58:57 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-21 11:00:40 -0400 |
commit | 9ef415042598ad978414f832b7bf52f20c67cce1 (patch) | |
tree | 7821e0e9101ffe1675181763cc1a9adbd2cbfa61 /demos/accordion/fillspace.html | |
parent | 919828dfbe8027f96bab6d3fcd0d3bd0169d3aa1 (diff) | |
download | jquery-ui-9ef415042598ad978414f832b7bf52f20c67cce1.tar.gz jquery-ui-9ef415042598ad978414f832b7bf52f20c67cce1.zip |
Accordion: Use new demos infrastructure
Ref #10119
Diffstat (limited to 'demos/accordion/fillspace.html')
-rw-r--r-- | demos/accordion/fillspace.html | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/demos/accordion/fillspace.html b/demos/accordion/fillspace.html index 0bc503c61..b1d41777b 100644 --- a/demos/accordion/fillspace.html +++ b/demos/accordion/fillspace.html @@ -4,12 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Accordion - Fill space</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/resizable.js"></script> - <script src="../../ui/accordion.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #accordion-resizer { @@ -18,13 +12,12 @@ height: 220px; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="resizable"> $( "#accordion" ).accordion({ heightStyle: "fill" }); - }); - $(function() { + $( "#accordion-resizer" ).resizable({ minHeight: 140, minWidth: 200, @@ -32,7 +25,6 @@ $( "#accordion" ).accordion( "refresh" ); } }); - }); </script> </head> <body> |