]> source.dussan.org Git - jquery-ui.git/commitdiff
All: Standard spacing inside selector strings
authorScott González <scott.gonzalez@gmail.com>
Thu, 26 Mar 2015 11:41:37 +0000 (07:41 -0400)
committerScott González <scott.gonzalez@gmail.com>
Thu, 26 Mar 2015 11:47:17 +0000 (07:47 -0400)
Closes gh-1521

tests/unit/accordion/accordion_common.js
tests/unit/draggable/draggable_common.js
tests/unit/resizable/resizable_common.js
tests/unit/selectable/selectable_common.js
tests/unit/slider/slider_common.js
tests/unit/sortable/sortable_common.js
ui/accordion.js
ui/mouse.js
ui/tabs.js

index fb80ef353137c8e80658d5503f54ed5add4762ce..0971bce3ccdc27e10840ad2e5120c92cee396ce6 100644 (file)
@@ -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",
index 00193bdaf4febc5bf71dbd9b28ae9feed9396bd7..6a70cd7d4361b99dfead676f107132e7d8c98af7 100644 (file)
@@ -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,
index 075c78ddb69bd39f8c84a1fb2bfea6bf324b0de8..c3255ff91767690ebba6b164540046925c46ede9 100644 (file)
@@ -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"
                },
index 0f9adf5401815d592ddde353a435ee25a4abdf33..79bf6e3c5dc3d96b7ed6bd9fbedeb307fd2a1f97 100644 (file)
@@ -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,
index d43869bf0c66afe3e3eb25c7a20af3180153768e..c4033e8a997106f8e5815e8ef2c6d7d3b6c8456b 100644 (file)
@@ -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",
index 6733714a755e945151facfdc98a90abbebfa0b60..dca26c75c92995a03896771bc2284cb0a7476016 100644 (file)
@@ -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,
index 67021784dc595af96c4328bb3ac17eafaf0ebfc0..646352715866fc4be37d1c041726cbebf23b83a8 100644 (file)
@@ -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",
index 901a1ca09b0759237c20d82e246c27a56fc9dd13..ed898f2a90da7b87230e3277a05175b58796b065 100644 (file)
@@ -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
        },
index 59f95819662d30a72c930df5be7347e5e02b29ce..40668f8373955063637355b7bf71ff7eab140b04 100644 (file)
@@ -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 ) {