diff options
Diffstat (limited to 'demos/resizable/constrain-area.html')
-rw-r--r-- | demos/resizable/constrain-area.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/resizable/constrain-area.html b/demos/resizable/constrain-area.html index e6ce3b28b..e000fcf07 100644 --- a/demos/resizable/constrain-area.html +++ b/demos/resizable/constrain-area.html @@ -4,11 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Resizable - Constrain resize area</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> #container { width: 300px; height: 300px; } @@ -16,12 +11,11 @@ #resizable { background-position: top left; width: 150px; height: 150px; } #resizable, #container { padding: 0.5em; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( "#resizable" ).resizable({ containment: "#container" }); - }); </script> </head> <body> |