diff options
Diffstat (limited to 'demos/resizable/aspect-ratio.html')
-rw-r--r-- | demos/resizable/aspect-ratio.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/resizable/aspect-ratio.html b/demos/resizable/aspect-ratio.html index 2da2a2926..3878b18ec 100644 --- a/demos/resizable/aspect-ratio.html +++ b/demos/resizable/aspect-ratio.html @@ -4,22 +4,16 @@ <meta charset="utf-8"> <title>jQuery UI Resizable - Preserve aspect ratio</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> <link rel="stylesheet" href="../demos.css"> <style> #resizable { width: 160px; height: 90px; padding: 0.5em; } #resizable h3 { text-align: center; margin: 0; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( "#resizable" ).resizable({ aspectRatio: 16 / 9 }); - }); </script> </head> <body> |