aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2016-06-08 13:03:42 -0400
committerScott González <scott.gonzalez@gmail.com>2016-06-08 13:03:42 -0400
commit3c860f95aa43c7844883f4417247d2aa6c482151 (patch)
tree2baa138dfb345b655beabb382cac23b5129ae7d8 /tests
parentabc2a755f97689145de81000534cca138736a539 (diff)
downloadjquery-ui-3c860f95aa43c7844883f4417247d2aa6c482151.tar.gz
jquery-ui-3c860f95aa43c7844883f4417247d2aa6c482151.zip
All: Replace non-breaking spaces with regular spaces
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/qunit-assert-domequal.js4
-rw-r--r--tests/unit/menu/events.js2
2 files changed, 3 insertions, 3 deletions
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" );