js: Normalize strings to double quotes.

Prettier would do this anyway, but it’s separated out for a more
reviewable diff.  Generated by ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-14 16:29:15 -07:00
committed by Tim Abbott
parent 06691e1e45
commit f3726db89a
344 changed files with 14425 additions and 14420 deletions

View File

@@ -12,7 +12,7 @@ const list_cursor = function (opts) {
;
if (!config_ok) {
blueslip.error('Programming error');
blueslip.error("Programming error");
return;
}
@@ -84,7 +84,7 @@ const list_cursor = function (opts) {
self.go_to = function (key) {
if (key === undefined) {
blueslip.error('Caller is not checking keys for list_cursor.go_to');
blueslip.error("Caller is not checking keys for list_cursor.go_to");
return;
}
if (key === self.curr_key) {
@@ -93,7 +93,7 @@ const list_cursor = function (opts) {
self.clear();
const row = self.get_row(key);
if (row === undefined) {
blueslip.error('Cannot highlight key for list_cursor: ' + key);
blueslip.error("Cannot highlight key for list_cursor: " + key);
return;
}
self.curr_key = key;