From c42a07a2e388d7aeec4af89d0be63f55b593f6aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 26 Mar 2015 07:41:37 -0400 Subject: [PATCH] All: Standard spacing inside selector strings Closes gh-1521 --- tests/unit/accordion/accordion_common.js | 2 +- tests/unit/draggable/draggable_common.js | 2 +- tests/unit/resizable/resizable_common.js | 2 +- tests/unit/selectable/selectable_common.js | 2 +- tests/unit/slider/slider_common.js | 2 +- tests/unit/sortable/sortable_common.js | 2 +- ui/accordion.js | 2 +- ui/mouse.js | 2 +- ui/tabs.js | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/unit/accordion/accordion_common.js b/tests/unit/accordion/accordion_common.js index fb80ef353..0971bce3c 100644 --- a/tests/unit/accordion/accordion_common.js +++ b/tests/unit/accordion/accordion_common.js @@ -10,7 +10,7 @@ TestHelpers.commonWidgetTests( "accordion", { collapsible: false, disabled: false, event: "click", - header: "> li > :first-child,> :not(li):even", + header: "> li > :first-child, > :not(li):even", heightStyle: "auto", icons: { "activeHeader": "ui-icon-triangle-1-s", diff --git a/tests/unit/draggable/draggable_common.js b/tests/unit/draggable/draggable_common.js index 00193bdaf..6a70cd7d4 100644 --- a/tests/unit/draggable/draggable_common.js +++ b/tests/unit/draggable/draggable_common.js @@ -2,7 +2,7 @@ TestHelpers.commonWidgetTests( "draggable", { defaults: { appendTo: "parent", axis: false, - cancel: "input,textarea,button,select,option", + cancel: "input, textarea, button, select, option", classes: {}, connectToSortable: false, containment: false, diff --git a/tests/unit/resizable/resizable_common.js b/tests/unit/resizable/resizable_common.js index 075c78ddb..c3255ff91 100644 --- a/tests/unit/resizable/resizable_common.js +++ b/tests/unit/resizable/resizable_common.js @@ -6,7 +6,7 @@ TestHelpers.commonWidgetTests( "resizable", { animateEasing: "swing", aspectRatio: false, autoHide: false, - cancel: "input,textarea,button,select,option", + cancel: "input, textarea, button, select, option", classes: { "ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se" }, diff --git a/tests/unit/selectable/selectable_common.js b/tests/unit/selectable/selectable_common.js index 0f9adf540..79bf6e3c5 100644 --- a/tests/unit/selectable/selectable_common.js +++ b/tests/unit/selectable/selectable_common.js @@ -2,7 +2,7 @@ TestHelpers.commonWidgetTests("selectable", { defaults: { appendTo: "body", autoRefresh: true, - cancel: "input,textarea,button,select,option", + cancel: "input, textarea, button, select, option", classes: {}, delay: 0, disabled: false, diff --git a/tests/unit/slider/slider_common.js b/tests/unit/slider/slider_common.js index d43869bf0..c4033e8a9 100644 --- a/tests/unit/slider/slider_common.js +++ b/tests/unit/slider/slider_common.js @@ -1,7 +1,7 @@ TestHelpers.commonWidgetTests( "slider", { defaults: { animate: false, - cancel: "input,textarea,button,select,option", + cancel: "input, textarea, button, select, option", classes: { "ui-slider": "ui-corner-all", "ui-slider-handle": "ui-corner-all", diff --git a/tests/unit/sortable/sortable_common.js b/tests/unit/sortable/sortable_common.js index 6733714a7..dca26c75c 100644 --- a/tests/unit/sortable/sortable_common.js +++ b/tests/unit/sortable/sortable_common.js @@ -2,7 +2,7 @@ TestHelpers.commonWidgetTests( "sortable", { defaults: { appendTo: "parent", axis: false, - cancel: "input,textarea,button,select,option", + cancel: "input, textarea, button, select, option", classes: {}, connectWith: false, containment: false, diff --git a/ui/accordion.js b/ui/accordion.js index 67021784d..646352715 100644 --- a/ui/accordion.js +++ b/ui/accordion.js @@ -44,7 +44,7 @@ return $.widget( "ui.accordion", { }, collapsible: false, event: "click", - header: "> li > :first-child,> :not(li):even", + header: "> li > :first-child, > :not(li):even", heightStyle: "auto", icons: { activeHeader: "ui-icon-triangle-1-s", diff --git a/ui/mouse.js b/ui/mouse.js index 901a1ca09..ed898f2a9 100644 --- a/ui/mouse.js +++ b/ui/mouse.js @@ -35,7 +35,7 @@ $( document ).mouseup( function() { return $.widget("ui.mouse", { version: "@VERSION", options: { - cancel: "input,textarea,button,select,option", + cancel: "input, textarea, button, select, option", distance: 1, delay: 0 }, diff --git a/ui/tabs.js b/ui/tabs.js index 59f958196..40668f837 100644 --- a/ui/tabs.js +++ b/ui/tabs.js @@ -481,7 +481,7 @@ return $.widget( "ui.tabs", { // allow overriding how to find the list for rare usage scenarios (#7715) _getList: function() { - return this.tablist || this.element.find( "ol,ul" ).eq( 0 ); + return this.tablist || this.element.find( "ol, ul" ).eq( 0 ); }, _createPanel: function( id ) { -- 2.39.5