diff options
Diffstat (limited to 'demos/position/default.html')
-rw-r--r-- | demos/position/default.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/position/default.html b/demos/position/default.html index 284653c96..142787980 100644 --- a/demos/position/default.html +++ b/demos/position/default.html @@ -4,12 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Position - 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/mouse.js"></script> - <script src="../../ui/draggable.js"></script> - <script src="../../ui/position.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #parent { @@ -41,8 +35,8 @@ margin-left: 15px; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="draggable"> function position() { $( ".positionable" ).position({ of: $( "#parent" ), @@ -61,7 +55,6 @@ }); position(); - }); </script> </head> <body> |