From 8b14e49994b712caf67895f6a1040de4eacad9df Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Mon, 9 Dec 2013 12:55:17 +0100 Subject: JSCS config: Set disallowSpaceAfterObjectKeys, fix two occurences --- .jscs.json | 3 +-- ui/jquery.ui.position.js | 2 +- ui/jquery.ui.tabs.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.jscs.json b/.jscs.json index 6540c8f39..b78228431 100644 --- a/.jscs.json +++ b/.jscs.json @@ -18,6 +18,5 @@ "disallowMultipleLineBreaks": true, "disallowKeywordsOnNewLine": [ "else" ], "requireLineFeedAtFileEnd": true, - - "excludeFiles": [ "src/intro.js", "src/outro.js" ] + "disallowSpaceAfterObjectKeys": true } diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js index 6ff37bd13..f088fa0be 100644 --- a/ui/jquery.ui.position.js +++ b/ui/jquery.ui.position.js @@ -246,7 +246,7 @@ $.fn.position = function( options ) { my: options.my, at: options.at, within: within, - elem : elem + elem: elem }); } }); diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 25395b8fc..eb822c112 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -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 ) ); } }; }, -- cgit v1.2.3