diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-06-30 22:58:43 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-21 11:00:42 -0400 |
commit | 78364a2428d56c4867a65c9715f33bbde7459e18 (patch) | |
tree | 117d7c5f6a14b81ff60277251335a99126737737 /demos/slider/range.html | |
parent | 0e8d871a264139d5156d924f0925033c483f0c1e (diff) | |
download | jquery-ui-78364a2428d56c4867a65c9715f33bbde7459e18.tar.gz jquery-ui-78364a2428d56c4867a65c9715f33bbde7459e18.zip |
Slider: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/slider/range.html')
-rw-r--r-- | demos/slider/range.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/slider/range.html b/demos/slider/range.html index a923a6d15..a660fee55 100644 --- a/demos/slider/range.html +++ b/demos/slider/range.html @@ -4,14 +4,9 @@ <meta charset="utf-8"> <title>jQuery UI Slider - Range slider</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-range" ).slider({ range: true, min: 0, @@ -23,7 +18,6 @@ }); $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + " - $" + $( "#slider-range" ).slider( "values", 1 ) ); - }); </script> </head> <body> |