]> source.dussan.org Git - jquery-ui.git/commitdiff
JSCS config: Set disallowSpaceAfterObjectKeys, fix two occurences
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 9 Dec 2013 11:55:17 +0000 (12:55 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 9 Dec 2013 11:55:17 +0000 (12:55 +0100)
.jscs.json
ui/jquery.ui.position.js
ui/jquery.ui.tabs.js

index 6540c8f397740895a4da1b4f76cf9af520273141..b782284315a1eaccf3fe059f8bbb9c4d24dd933f 100644 (file)
@@ -18,6 +18,5 @@
     "disallowMultipleLineBreaks": true,
     "disallowKeywordsOnNewLine": [ "else" ],
     "requireLineFeedAtFileEnd": true,
-
-    "excludeFiles": [ "src/intro.js", "src/outro.js" ]
+    "disallowSpaceAfterObjectKeys": true
 }
index 6ff37bd13d1c000bb7f5a7c8f1025fa47dfbb562..f088fa0bef6214b041ecc9a524d725b8c8cd09e3 100644 (file)
@@ -246,7 +246,7 @@ $.fn.position = function( options ) {
                                        my: options.my,
                                        at: options.at,
                                        within: within,
-                                       elem : elem
+                                       elem: elem
                                });
                        }
                });
index 25395b8fc2d7e9f5f2056770cb1cbf123422df3d..eb822c112518339f23f750c77179e745ba03f05d 100644 (file)
@@ -844,7 +844,7 @@ $.widget( "ui.tabs", {
                        url: anchor.attr( "href" ),
                        beforeSend: function( jqXHR, settings ) {
                                return that._trigger( "beforeLoad", event,
-                                       $.extend( { jqXHR : jqXHR, ajaxSettings: settings }, eventData ) );
+                                       $.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );
                        }
                };
        },