mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: Address review comments
This commit is contained in:
parent
4acdfa14b2
commit
6b05034283
@ -6,7 +6,7 @@ define( [
|
||||
module( "selectmenu: core" );
|
||||
|
||||
test( "markup structure", function( assert ) {
|
||||
expect( 5 );
|
||||
expect( 4 );
|
||||
|
||||
var element = $( "#files" ).selectmenu(),
|
||||
button = element.selectmenu( "widget" ),
|
||||
@ -15,8 +15,7 @@ test( "markup structure", function( assert ) {
|
||||
|
||||
assert.hasClasses( button,
|
||||
"ui-selectmenu-button ui-selectmenu-button-closed ui-widget" );
|
||||
assert.lacksClasses( button, "ui-selectmenu-button-open" );
|
||||
assert.lacksClasses( button, "ui-selectmenu-open" );
|
||||
assert.lacksClasses( button, "ui-selectmenu-button-open ui-selectmenu-open" );
|
||||
assert.hasClasses( menuWrap, "ui-selectmenu-menu" );
|
||||
assert.lacksClasses( menuWrap, "ui-selectmenu-menu-open" );
|
||||
} );
|
||||
|
@ -6,7 +6,6 @@
|
||||
<script src="../../../external/requirejs/require.js"></script>
|
||||
<script src="../../lib/css.js" data-modules="core menu selectmenu button"></script>
|
||||
<script src="../../lib/bootstrap.js" data-widget="selectmenu"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user