aboutsummaryrefslogtreecommitdiffstats
path: root/demos/slider/steps.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 22:58:43 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:42 -0400
commit78364a2428d56c4867a65c9715f33bbde7459e18 (patch)
tree117d7c5f6a14b81ff60277251335a99126737737 /demos/slider/steps.html
parent0e8d871a264139d5156d924f0925033c483f0c1e (diff)
downloadjquery-ui-78364a2428d56c4867a65c9715f33bbde7459e18.tar.gz
jquery-ui-78364a2428d56c4867a65c9715f33bbde7459e18.zip
Slider: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/slider/steps.html')
-rw-r--r--demos/slider/steps.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/slider/steps.html b/demos/slider/steps.html
index 9b8ca2add..deb05bbc0 100644
--- a/demos/slider/steps.html
+++ b/demos/slider/steps.html
@@ -4,14 +4,9 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Snap to increments</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/slider.js"></script>
<link rel="stylesheet" href="../demos.css">
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
$( "#slider" ).slider({
value:100,
min: 0,
@@ -22,7 +17,6 @@
}
});
$( "#amount" ).val( "$" + $( "#slider" ).slider( "value" ) );
- });
</script>
</head>
<body>