aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable/revert.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 17:12:39 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:41 -0400
commit41b5b2d7a9def3298a205150d0a8428c86798dcd (patch)
treeedbbfcfb9b6fcbc3d97e1e73ea926a62d37ebe32 /demos/draggable/revert.html
parentf18ec88ea8dab42c884004ab36a02874f716afe2 (diff)
downloadjquery-ui-41b5b2d7a9def3298a205150d0a8428c86798dcd.tar.gz
jquery-ui-41b5b2d7a9def3298a205150d0a8428c86798dcd.zip
Draggable: Update to demos to use AMD
Ref #10119
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>