aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-11-13 19:45:56 +0100
committerFelix Nagel <info@felixnagel.com>2013-11-13 19:45:56 +0100
commitab2219b6ac3dbab58885a0bd2aaac01c4bcc1c2f (patch)
treededf39afe3330bae4eec603297432d972e5bcfc1 /ui/jquery.ui.spinner.js
parenta6c5f58d8243b39c6cd57b76ffb0776adfcc8b1c (diff)
parent14782c04e2201c53e3ecb80b086f1a4c27aa991d (diff)
downloadjquery-ui-ab2219b6ac3dbab58885a0bd2aaac01c4bcc1c2f.tar.gz
jquery-ui-ab2219b6ac3dbab58885a0bd2aaac01c4bcc1c2f.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index 3bbd35f88..870b3328a 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -15,7 +15,7 @@
*/
(function( $ ) {
-function modifier( fn ) {
+function spinner_modifier( fn ) {
return function() {
var previous = this.element.val();
fn.apply( this, arguments );
@@ -391,7 +391,7 @@ $.widget( "ui.spinner", {
}
},
- _setOptions: modifier(function( options ) {
+ _setOptions: spinner_modifier(function( options ) {
this._super( options );
this._value( this.element.val() );
}),
@@ -462,7 +462,7 @@ $.widget( "ui.spinner", {
this.uiSpinner.replaceWith( this.element );
},
- stepUp: modifier(function( steps ) {
+ stepUp: spinner_modifier(function( steps ) {
this._stepUp( steps );
}),
_stepUp: function( steps ) {
@@ -472,7 +472,7 @@ $.widget( "ui.spinner", {
}
},
- stepDown: modifier(function( steps ) {
+ stepDown: spinner_modifier(function( steps ) {
this._stepDown( steps );
}),
_stepDown: function( steps ) {
@@ -482,11 +482,11 @@ $.widget( "ui.spinner", {
}
},
- pageUp: modifier(function( pages ) {
+ pageUp: spinner_modifier(function( pages ) {
this._stepUp( (pages || 1) * this.options.page );
}),
- pageDown: modifier(function( pages ) {
+ pageDown: spinner_modifier(function( pages ) {
this._stepDown( (pages || 1) * this.options.page );
}),
@@ -494,7 +494,7 @@ $.widget( "ui.spinner", {
if ( !arguments.length ) {
return this._parse( this.element.val() );
}
- modifier( this._value ).call( this, newVal );
+ spinner_modifier( this._value ).call( this, newVal );
},
widget: function() {