diff --git a/demos/autocomplete/multiple-remote.html b/demos/autocomplete/multiple-remote.html index e1babda4a..6b37ab93a 100644 --- a/demos/autocomplete/multiple-remote.html +++ b/demos/autocomplete/multiple-remote.html @@ -17,7 +17,7 @@ return val.split( /,\s*/ ); } function extractLast( term ) { - return split( term ).pop(); + return split( term ).pop(); } $( "#birds" ) diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html index 891959e9e..a26f3a2b5 100644 --- a/demos/dialog/modal-message.html +++ b/demos/dialog/modal-message.html @@ -12,7 +12,7 @@ modal: true, buttons: { Ok: function() { - $( this ).dialog( "close" ); + $( this ).dialog( "close" ); } } }); diff --git a/tests/lib/qunit-assert-domequal.js b/tests/lib/qunit-assert-domequal.js index e8083db77..b22bd90b9 100644 --- a/tests/lib/qunit-assert-domequal.js +++ b/tests/lib/qunit-assert-domequal.js @@ -99,11 +99,11 @@ function extract( selector, message ) { var children; $.each( domEqual.properties, function( index, attr ) { var value = elem.prop( attr ); - result[ attr ] = value != null ? value : ""; + result[ attr ] = value != null ? value : ""; } ); $.each( domEqual.attributes, function( index, attr ) { var value = elem.attr( attr ); - result[ attr ] = value != null ? value : ""; + result[ attr ] = value != null ? value : ""; } ); result.style = getElementStyles( elem[ 0 ] ); result.events = $._data( elem[ 0 ], "events" ); diff --git a/tests/unit/menu/events.js b/tests/unit/menu/events.js index 701523de7..a8ccb0282 100644 --- a/tests/unit/menu/events.js +++ b/tests/unit/menu/events.js @@ -353,7 +353,7 @@ QUnit.test( "handle keyboard navigation on menu without scroll and with submenus } function menukeyboard3() { - log( "keydown", true ); + log( "keydown", true ); element.simulate( "keydown", { keyCode: $.ui.keyCode.PAGE_DOWN } ); assert.equal( logOutput(), "keydown,2", "Keydown PAGE_DOWN" );