diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-06-30 22:14:51 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-21 11:00:41 -0400 |
commit | 4ea6f8f0b42c630174de684767de54bd078a5578 (patch) | |
tree | b81e7325208fb9bbced8f241083ff36315e460de /demos/resizable/synchronous-resize.html | |
parent | df37d7d505edc429f4238f105e61ff3644a17b8b (diff) | |
download | jquery-ui-4ea6f8f0b42c630174de684767de54bd078a5578.tar.gz jquery-ui-4ea6f8f0b42c630174de684767de54bd078a5578.zip |
Resizable: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/resizable/synchronous-resize.html')
-rw-r--r-- | demos/resizable/synchronous-resize.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/resizable/synchronous-resize.html b/demos/resizable/synchronous-resize.html index e645ea351..ddc89cd88 100644 --- a/demos/resizable/synchronous-resize.html +++ b/demos/resizable/synchronous-resize.html @@ -4,11 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Resizable - Synchronous resize</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 { background-position: top left; } @@ -16,13 +11,12 @@ #resizable h3, #also h3 { text-align: center; margin: 0; } #also { margin-top: 1em; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( "#resizable" ).resizable({ alsoResize: "#also" }); $( "#also" ).resizable(); - }); </script> </head> <body> |