From 3c860f95aa43c7844883f4417247d2aa6c482151 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 8 Jun 2016 13:03:42 -0400 Subject: [PATCH] All: Replace non-breaking spaces with regular spaces --- demos/autocomplete/multiple-remote.html | 2 +- demos/dialog/modal-message.html | 2 +- tests/lib/qunit-assert-domequal.js | 4 ++-- tests/unit/menu/events.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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" ); -- 2.39.5