Remove trailing whitespaces in dash.js
Trailing whitespaces cause warnings.
This commit is contained in:
parent
585bfe5b5a
commit
2f27f61a1f
@ -66,7 +66,7 @@ const PLACES = "places";
|
|||||||
* Returns the index in an array of a given length that is obtained
|
* Returns the index in an array of a given length that is obtained
|
||||||
* if the provided index is incremented by an increment and the array
|
* if the provided index is incremented by an increment and the array
|
||||||
* is wrapped in if necessary.
|
* is wrapped in if necessary.
|
||||||
*
|
*
|
||||||
* index: prior index, expects 0 <= index < length
|
* index: prior index, expects 0 <= index < length
|
||||||
* increment: the change in index, expects abs(increment) <= length
|
* increment: the change in index, expects abs(increment) <= length
|
||||||
* length: the length of the array
|
* length: the length of the array
|
||||||
@ -318,7 +318,7 @@ SearchEntry.prototype = {
|
|||||||
else
|
else
|
||||||
this.entry.text = '';
|
this.entry.text = '';
|
||||||
|
|
||||||
// Return true to stop the signal emission, so that this.actor doesn't get
|
// Return true to stop the signal emission, so that this.actor doesn't get
|
||||||
// the button-press-event and re-highlight itself.
|
// the button-press-event and re-highlight itself.
|
||||||
return true;
|
return true;
|
||||||
}));
|
}));
|
||||||
@ -341,7 +341,7 @@ SearchEntry.prototype = {
|
|||||||
_resetTextState: function (searchEntryClicked) {
|
_resetTextState: function (searchEntryClicked) {
|
||||||
let text = this.getText();
|
let text = this.getText();
|
||||||
this._iconBox.remove_all();
|
this._iconBox.remove_all();
|
||||||
// We highlight the search box if the user starts typing in it
|
// We highlight the search box if the user starts typing in it
|
||||||
// or just clicks in it to indicate that the search is active.
|
// or just clicks in it to indicate that the search is active.
|
||||||
if (text != '' || searchEntryClicked) {
|
if (text != '' || searchEntryClicked) {
|
||||||
if (!searchEntryClicked)
|
if (!searchEntryClicked)
|
||||||
|
Loading…
Reference in New Issue
Block a user