aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner/default.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 23:34:08 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:42 -0400
commitebb8bbf16884cead816830711739181e27ff18de (patch)
tree8ee189625b687f744ea71dddab099294dd286a90 /demos/spinner/default.html
parent19328423fe0fae1381319911357dc9ad12c3d274 (diff)
downloadjquery-ui-ebb8bbf16884cead816830711739181e27ff18de.tar.gz
jquery-ui-ebb8bbf16884cead816830711739181e27ff18de.zip
Spinner: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/spinner/default.html')
-rw-r--r--demos/spinner/default.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/spinner/default.html b/demos/spinner/default.html
index 328d4d13c..3d08a60bb 100644
--- a/demos/spinner/default.html
+++ b/demos/spinner/default.html
@@ -4,15 +4,9 @@
<meta charset="utf-8">
<title>jQuery UI Spinner - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/all.css">
- <script src="../../external/jquery/jquery.js"></script>
- <script src="../../external/jquery-mousewheel/jquery.mousewheel.js"></script>
- <script src="../../ui/core.js"></script>
- <script src="../../ui/widget.js"></script>
- <script src="../../ui/button.js"></script>
- <script src="../../ui/spinner.js"></script>
<link rel="stylesheet" href="../demos.css">
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js" data-modules="external/jquery-mousewheel/jquery.mousewheel">
var spinner = $( "#spinner" ).spinner();
$( "#disable" ).on( "click", function() {
@@ -37,7 +31,6 @@
});
$( "button" ).button();
- });
</script>
</head>
<body>