aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable/propagation.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 17:18:16 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:41 -0400
commit6acdd4a44447d4a4a002284b82c9e4e3e9df009b (patch)
treeb48e49689ab882544355ff1c1d8394004db1cd5f /demos/droppable/propagation.html
parent41b5b2d7a9def3298a205150d0a8428c86798dcd (diff)
downloadjquery-ui-6acdd4a44447d4a4a002284b82c9e4e3e9df009b.tar.gz
jquery-ui-6acdd4a44447d4a4a002284b82c9e4e3e9df009b.zip
Droppable: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/droppable/propagation.html')
-rw-r--r--demos/droppable/propagation.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/droppable/propagation.html b/demos/droppable/propagation.html
index 99fb21711..048c847f3 100644
--- a/demos/droppable/propagation.html
+++ b/demos/droppable/propagation.html
@@ -4,20 +4,14 @@
<meta charset="utf-8">
<title>jQuery UI Droppable - Prevent propagation</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/droppable.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
#draggable { width: 100px; height: 40px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
#droppable, #droppable2 { width: 230px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
#droppable-inner, #droppable2-inner { width: 170px; height: 60px; padding: 0.5em; float: left; margin: 10px; }
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
$( "#draggable" ).draggable();
$( "#droppable, #droppable-inner" ).droppable({
@@ -47,7 +41,6 @@
.html( "Dropped!" );
}
});
- });
</script>
</head>
<body>