aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-20 16:25:04 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-25 15:44:43 -0400
commitaf35f0bbc9064ec66bee19c730bf4cb9de2834db (patch)
tree79e2e0aba8b9436ef9ab9d8c36537c7781cb3b3b /ui/jquery.ui.spinner.js
parent63b89b7884d72d026f67c29eb234ebc1be738aa0 (diff)
downloadjquery-ui-af35f0bbc9064ec66bee19c730bf4cb9de2834db.tar.gz
jquery-ui-af35f0bbc9064ec66bee19c730bf4cb9de2834db.zip
Spinner: Changed casing of option numberformat -> numberFormat.
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 2709175b5..0a0ebb37e 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -20,7 +20,7 @@ $.widget( "ui.spinner", {
incremental: true,
max: null,
min: null,
- numberformat: null,
+ numberFormat: null,
page: 10,
step: null,
value: null
@@ -318,13 +318,13 @@ $.widget( "ui.spinner", {
_parse: function( val ) {
if ( typeof val === "string" ) {
- val = $.global && this.options.numberformat ? $.global.parseFloat( val ) : +val;
+ val = $.global && this.options.numberFormat ? $.global.parseFloat( val ) : +val;
}
return isNaN( val ) ? null : val;
},
_format: function( num ) {
- this.element.val( $.global && this.options.numberformat ? $.global.format( num, this.options.numberformat ) : num );
+ this.element.val( $.global && this.options.numberFormat ? $.global.format( num, this.options.numberFormat ) : num );
},
destroy: function() {