aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable/cursor-style.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/cursor-style.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/cursor-style.html')
-rw-r--r--demos/draggable/cursor-style.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/draggable/cursor-style.html b/demos/draggable/cursor-style.html
index 7f3b0fda4..56dd4bb3a 100644
--- a/demos/draggable/cursor-style.html
+++ b/demos/draggable/cursor-style.html
@@ -4,21 +4,15 @@
<meta charset="utf-8">
<title>jQuery UI Draggable - Cursor style</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 { 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({ cursor: "move", cursorAt: { top: 56, left: 56 } });
$( "#draggable2" ).draggable({ cursor: "crosshair", cursorAt: { top: -5, left: -5 } });
$( "#draggable3" ).draggable({ cursorAt: { bottom: 0 } });
- });
</script>
</head>
<body>