aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
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() {