]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Fix line length violations
authorAlexander Schmitz <arschmitz@gmail.com>
Wed, 30 Mar 2016 23:00:14 +0000 (19:00 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 13 Apr 2016 15:31:34 +0000 (11:31 -0400)
Ref gh-1690

ui/widgets/spinner.js

index e875f10adb25016d526320ca70386e67348861f2..447944344fae6d54b06e640d9c77026d5004fc50 100644 (file)
@@ -199,7 +199,8 @@ $.widget( "ui.spinner", {
                                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",
                "mouseenter .ui-spinner-button": function( event ) {
@@ -212,7 +213,8 @@ $.widget( "ui.spinner", {
                        if ( this._start( event ) === 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?