Skip to content

Commit 85ff520

Browse files
committed
Menu: Style updates
Ref #14246
1 parent a3a847f commit 85ff520

6 files changed

Lines changed: 139 additions & 134 deletions

File tree

tests/unit/menu/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ common.testWidget( "menu", {
2424
focus: null,
2525
select: null
2626
}
27-
});
27+
} );
2828

2929
} );

tests/unit/menu/core.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ test( "markup structure", function( assert ) {
2323
equal( items.eq( 1 ).children().length, 1, "Item has exactly 1 child when it does not have a sub menu" );
2424
assert.hasClasses( items[ 2 ], "ui-menu-item" );
2525
equal( items.eq( 2 ).children().length, 1, "Item has exactly 1 child when it does not have a sub menu" );
26-
});
26+
} );
2727

28-
test( "accessibility", function () {
28+
test( "accessibility", function() {
2929
expect( 4 );
3030
var element = $( "#menu1" ).menu();
3131

@@ -39,7 +39,7 @@ test( "accessibility", function () {
3939
ok( /^ui-id-\d+$/.test( element.attr( "aria-activedescendant" ) ), "aria-activedescendant from generated id" );
4040

4141
// Item roles are tested in the role option tests
42-
});
42+
} );
4343

4444
asyncTest( "#9044: Autofocus issue with dialog opened from menu widget", function() {
4545
expect( 1 );
@@ -49,15 +49,15 @@ asyncTest( "#9044: Autofocus issue with dialog opened from menu widget", functio
4949

5050
$( "#testID1" ).on( "click", function() {
5151
$( "#test9044" ).trigger( "focus" );
52-
});
52+
} );
5353

5454
testHelper.click( element, "3" );
5555
setTimeout( function() {
5656
equal( document.activeElement.id, "test9044", "Focus was swallowed by menu" );
5757
$( "#test9044" ).remove();
5858
start();
59-
});
60-
});
59+
} );
60+
} );
6161

6262
asyncTest( "#9532: Need a way in Menu to keep ui-state-active class on selected item for Selectmenu", function( assert ) {
6363
expect( 1 );
@@ -70,7 +70,7 @@ asyncTest( "#9532: Need a way in Menu to keep ui-state-active class on selected
7070
setTimeout( function() {
7171
assert.hasClasses( wrapper, "ui-state-active" );
7272
start();
73-
});
74-
});
73+
} );
74+
} );
7575

7676
} );

0 commit comments

Comments
 (0)