aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable/revert.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/draggable/revert.html')
-rw-r--r--demos/draggable/revert.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/draggable/revert.html b/demos/draggable/revert.html
index 4371b7f2b..5720dbe88 100644
--- a/demos/draggable/revert.html
+++ b/demos/draggable/revert.html
@@ -4,20 +4,14 @@
<meta charset="utf-8">
<title>jQuery UI Draggable - Revert position</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, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
$( "#draggable" ).draggable({ revert: true });
$( "#draggable2" ).draggable({ revert: true, helper: "clone" });
- });
</script>
</head>
<body>