aboutsummaryrefslogtreecommitdiffstats
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
parentabc2a755f97689145de81000534cca138736a539 (diff)
downloadjquery-ui-3c860f95aa43c7844883f4417247d2aa6c482151.tar.gz
jquery-ui-3c860f95aa43c7844883f4417247d2aa6c482151.zip
All: Replace non-breaking spaces with regular spaces
-rw-r--r--demos/autocomplete/multiple-remote.html2
-rw-r--r--demos/dialog/modal-message.html2
-rw-r--r--tests/lib/qunit-assert-domequal.js4
-rw-r--r--tests/unit/menu/events.js2
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" );