aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-08-10 14:55:16 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-08-10 14:55:16 +0200
commit56e9cd71190a65c73023d6a631f7fd37c40f4167 (patch)
treeb589e868fa38a8ce622d378968bfcd488c0fe635 /ui/jquery.ui.spinner.js
parentbb79b418717bbd4b2ae800fc8c6bbe39682a2283 (diff)
downloadjquery-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 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index 4bbc1adf4..7c699ef75 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -240,7 +240,7 @@ $.widget( "ui.spinner", {
var newVal = this.value() + step * this._increment( this.counter );
- // clamp the new value
+ // clamp the new value
newVal = this._trimValue( newVal );
if ( !this.spinning || this._trigger( "spin", event, { value: newVal } ) !== false) {
@@ -308,14 +308,14 @@ $.widget( "ui.spinner", {
_parse: function( val ) {
if ( typeof val === "string" ) {
- val = $.global && this.options.numberFormat ? $.global.parseFloat( val ) : +val;
+ val = window.Globalize && this.options.numberFormat ? Globalize.parseFloat( val ) : +val;
}
return isNaN( val ) ? null : val;
},
_format: function() {
var num = this.options.value;
- return $.global && this.options.numberFormat ? $.global.format( num, this.options.numberFormat ) : num;
+ return window.Globalize && this.options.numberFormat ? Globalize.format( num, this.options.numberFormat ) : num;
},
_refresh: function() {