]> source.dussan.org Git - jquery-ui.git/commitdiff
Whitespace cleanup
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 20 Jun 2011 20:31:28 +0000 (22:31 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 20 Jun 2011 20:31:28 +0000 (22:31 +0200)
ui/jquery.ui.widget.js

index 0e5695d97258b3f259897e2f6ac0abc5453a8523..d154185d5c6082d0614393972a7fb71a1c83592b 100644 (file)
@@ -319,14 +319,14 @@ $.Widget.prototype = {
                                return ( typeof handler === "string" ? instance[ handler ] : handler )
                                        .apply( instance, arguments );
                        }
-               var match = event.match( /^(\w+)\s*(.*)$/ );
-               var eventName = match[1] + "." + instance.widgetName,
+                       var match = event.match( /^(\w+)\s*(.*)$/ ),
+                               eventName = match[1] + "." + instance.widgetName,
                                selector = match[2];
-               if (selector === '') {
-                 element.bind( eventName, handlerProxy );
-               } else {
-                 element.delegate( selector, eventName, handlerProxy );
-               }
+                       if ( selector === '' ) {
+                               element.bind( eventName, handlerProxy );
+                       } else {
+                               element.delegate( selector, eventName, handlerProxy );
+                       }
                });
        },