diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 00:12:07 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 08:06:24 -0400 |
commit | 009850abbfb78e2334aaf9265abf5a7705a2abf0 (patch) | |
tree | 5126b9d93d9ac8e694c10de5c49e451b1cd26487 /tests/unit/accordion/helper.js | |
parent | 8029cc94e123e670d2b0a80cfaa32a37435f5589 (diff) | |
download | jquery-ui-009850abbfb78e2334aaf9265abf5a7705a2abf0.tar.gz jquery-ui-009850abbfb78e2334aaf9265abf5a7705a2abf0.zip |
Accordion: Style updates
Ref #14246
Ref gh-1588
Diffstat (limited to 'tests/unit/accordion/helper.js')
-rw-r--r-- | tests/unit/accordion/helper.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/accordion/helper.js b/tests/unit/accordion/helper.js index ec9b7ecb8..b47510733 100644 --- a/tests/unit/accordion/helper.js +++ b/tests/unit/accordion/helper.js @@ -6,9 +6,9 @@ define( [ return $.extend( helper, { equalHeight: function( accordion, height ) { - accordion.find( ".ui-accordion-content" ).each(function() { + accordion.find( ".ui-accordion-content" ).each( function() { equal( $( this ).outerHeight(), height ); - }); + } ); }, setupTeardown: function() { @@ -25,10 +25,10 @@ return $.extend( helper, { state: function( accordion ) { var expected = $.makeArray( arguments ).slice( 1 ), - actual = accordion.find( ".ui-accordion-content" ).map(function() { + actual = accordion.find( ".ui-accordion-content" ).map( function() { return $( this ).css( "display" ) === "none" ? 0 : 1; - }).get(); - QUnit.push( QUnit.equiv(actual, expected), actual, expected ); + } ).get(); + QUnit.push( QUnit.equiv( actual, expected ), actual, expected ); } } ); |