aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-12-09 12:55:17 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-12-09 12:55:17 +0100
commit8b14e49994b712caf67895f6a1040de4eacad9df (patch)
tree8d7a4423fffb4b4d6ff022cf4ae0c4cfdf1487b9
parent1656cd2f340ac94b3b0c337f81eb3b31a4bb4d71 (diff)
downloadjquery-ui-8b14e49994b712caf67895f6a1040de4eacad9df.tar.gz
jquery-ui-8b14e49994b712caf67895f6a1040de4eacad9df.zip
JSCS config: Set disallowSpaceAfterObjectKeys, fix two occurences
-rw-r--r--.jscs.json3
-rw-r--r--ui/jquery.ui.position.js2
-rw-r--r--ui/jquery.ui.tabs.js2
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 ) );
}
};
},