aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable/visual-feedback.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/visual-feedback.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/visual-feedback.html')
-rw-r--r--demos/draggable/visual-feedback.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/draggable/visual-feedback.html b/demos/draggable/visual-feedback.html
index 135d86c2a..65f28bb9e 100644
--- a/demos/draggable/visual-feedback.html
+++ b/demos/draggable/visual-feedback.html
@@ -4,11 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Draggable - Visual feedback</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, #draggable3, #set div { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
@@ -16,8 +11,8 @@
#set { clear:both; float:left; width: 368px; height: 120px; }
p { clear:both; margin:0; padding:1em 0; }
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
$( "#draggable" ).draggable({ helper: "original" });
$( "#draggable2" ).draggable({ opacity: 0.7, helper: "clone" });
$( "#draggable3" ).draggable({
@@ -28,7 +23,6 @@
}
});
$( "#set div" ).draggable({ stack: "#set div" });
- });
</script>
</head>
<body>