diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-06-30 23:34:08 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-21 11:00:42 -0400 |
commit | ebb8bbf16884cead816830711739181e27ff18de (patch) | |
tree | 8ee189625b687f744ea71dddab099294dd286a90 /demos/spinner/currency.html | |
parent | 19328423fe0fae1381319911357dc9ad12c3d274 (diff) | |
download | jquery-ui-ebb8bbf16884cead816830711739181e27ff18de.tar.gz jquery-ui-ebb8bbf16884cead816830711739181e27ff18de.zip |
Spinner: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/spinner/currency.html')
-rw-r--r-- | demos/spinner/currency.html | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/demos/spinner/currency.html b/demos/spinner/currency.html index 0509e80a0..c19a1b816 100644 --- a/demos/spinner/currency.html +++ b/demos/spinner/currency.html @@ -4,18 +4,9 @@ <meta charset="utf-8"> <title>jQuery UI Spinner - Currency</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="../../external/globalize/globalize.js"></script> - <script src="../../external/globalize/globalize.culture.de-DE.js"></script> - <script src="../../external/globalize/globalize.culture.ja-JP.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/globalize/globalize external/globalize/globalize.culture.de-DE external/globalize/globalize.culture.ja-JP external/jquery-mousewheel/jquery.mousewheel"> $( "#currency" ).on( "change", function() { $( "#spinner" ).spinner( "option", "culture", $( this ).val() ); }); @@ -27,7 +18,6 @@ start: 1000, numberFormat: "C" }); - }); </script> </head> <body> |