Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables)

This commit is contained in:
Jörn Zaefferer 2013-03-01 17:18:03 +01:00
parent d599bf9ffd
commit d94e217065
3 changed files with 1 additions and 3 deletions

View File

@ -91,7 +91,6 @@ $.each([
element = $( settings.selector ).selectmenu(),
button = element.selectmenu( "widget" ),
menu = element.selectmenu( "menuWidget" ),
selected = element.find( "option:selected" ),
options = element.find( "option" );
// init menu

View File

@ -72,7 +72,6 @@ test( "refresh - change selected option", function () {
expect( 3 );
var element = $( "#speed" ).selectmenu(),
menu = element.selectmenu( "menuWidget" ).parent(),
button = element.selectmenu( "widget" );
equal( element.find( "option:selected" ).text(), button.text(), "button text after init" );