Spinner: Fix line length violations

Ref gh-1690
This commit is contained in:
Alexander Schmitz 2016-03-30 19:00:14 -04:00 committed by Scott González
parent f42a759b32
commit a4c9809340

View File

@ -199,7 +199,8 @@ $.widget( "ui.spinner", {
return; return;
} }
this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event ); this._repeat( null, $( event.currentTarget )
.hasClass( "ui-spinner-up" ) ? 1 : -1, event );
}, },
"mouseup .ui-spinner-button": "_stop", "mouseup .ui-spinner-button": "_stop",
"mouseenter .ui-spinner-button": function( event ) { "mouseenter .ui-spinner-button": function( event ) {
@ -212,7 +213,8 @@ $.widget( "ui.spinner", {
if ( this._start( event ) === false ) { if ( this._start( event ) === false ) {
return false; return false;
} }
this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event ); this._repeat( null, $( event.currentTarget )
.hasClass( "ui-spinner-up" ) ? 1 : -1, event );
}, },
// TODO: do we really want to consider this a stop? // TODO: do we really want to consider this a stop?