diff options
Diffstat (limited to 'demos/draggable/events.html')
-rw-r--r-- | demos/draggable/events.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/draggable/events.html b/demos/draggable/events.html index ad8a98aaf..5496a9486 100644 --- a/demos/draggable/events.html +++ b/demos/draggable/events.html @@ -4,11 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Draggable - Events</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> <link rel="stylesheet" href="../demos.css"> <style> #draggable { width: 16em; padding: 0 1em; } @@ -16,8 +11,8 @@ #draggable ul li span.ui-icon { float: left; } #draggable ul li span.count { font-weight: bold; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> var $start_counter = $( "#event-start" ), $drag_counter = $( "#event-drag" ), $stop_counter = $( "#event-stop" ), @@ -47,7 +42,6 @@ // ...then update the numbers $( "span.count", $event_counter ).text( new_count ); } - }); </script> </head> <body> |