diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-08-10 14:55:16 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-08-10 14:55:16 +0200 |
commit | 56e9cd71190a65c73023d6a631f7fd37c40f4167 (patch) | |
tree | b589e868fa38a8ce622d378968bfcd488c0fe635 /demos/spinner/currency.html | |
parent | bb79b418717bbd4b2ae800fc8c6bbe39682a2283 (diff) | |
download | jquery-ui-56e9cd71190a65c73023d6a631f7fd37c40f4167.tar.gz jquery-ui-56e9cd71190a65c73023d6a631f7fd37c40f4167.zip |
Replace $.global with Globalize, update Spinner to use it. Related demos currently broken due to previous changes.
Diffstat (limited to 'demos/spinner/currency.html')
-rw-r--r-- | demos/spinner/currency.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/spinner/currency.html b/demos/spinner/currency.html index 18d479de8..f73c19f80 100644 --- a/demos/spinner/currency.html +++ b/demos/spinner/currency.html @@ -6,9 +6,9 @@ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.6.2.js"></script> <script src="../../external/jquery.mousewheel-3.0.4.js"></script> - <script src="../../external/jquery.global.js"></script> - <script src="../../external/jquery.global.de-DE.js"></script> - <script src="../../external/jquery.global.ja-JP.js"></script> + <script src="../../external/globalize.js"></script> + <script src="../../external/globalize.culture.de-DE.js"></script> + <script src="../../external/globalize.culture.ja-JP.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> @@ -18,7 +18,7 @@ $(function() { $( "#currency" ).change(function() { var current = $( "#spinner" ).spinner( "value" ); - $.global.preferCulture( $(this).val() ); + Globalize.culture( $(this).val() ); $( "#spinner" ).spinner( "value", current ); }); @@ -28,7 +28,7 @@ step: 25, start: 1000, numberFormat: "C" - }); + }); }); </script> </head> @@ -42,7 +42,7 @@ <option value="en-US">US $</option> <option value="de-DE">EUR €</option> <option value="ja-JP">YEN ¥</option> - </select> + </select> </p> <p> <label for="spinner">Amount to donate:</label> |