aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable/connect-lists.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 23:09:22 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:42 -0400
commit19328423fe0fae1381319911357dc9ad12c3d274 (patch)
tree17a89106f3f1f064cef2990cb15c4494750d1557 /demos/sortable/connect-lists.html
parent78364a2428d56c4867a65c9715f33bbde7459e18 (diff)
downloadjquery-ui-19328423fe0fae1381319911357dc9ad12c3d274.tar.gz
jquery-ui-19328423fe0fae1381319911357dc9ad12c3d274.zip
Sortable: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/sortable/connect-lists.html')
-rw-r--r--demos/sortable/connect-lists.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/sortable/connect-lists.html b/demos/sortable/connect-lists.html
index 834cb560a..4461e7364 100644
--- a/demos/sortable/connect-lists.html
+++ b/demos/sortable/connect-lists.html
@@ -4,11 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Sortable - Connect lists</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/sortable.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
#sortable1, #sortable2 {
@@ -28,12 +23,11 @@
width: 120px;
}
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
$( "#sortable1, #sortable2" ).sortable({
connectWith: ".connectedSortable"
}).disableSelection();
- });
</script>
</head>
<body>