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 @@ $(() => {
// Display loading indicator. This disappears after the first
// get_events completes.
if (!page_params.needs_tutorial) {
loading.make_indicator($('#page_loading_indicator'), {text: 'Loading...', abs_positioned: true});
loading.make_indicator($("#page_loading_indicator"), {text: "Loading...", abs_positioned: true});
}
// This is an issue fix where in jQuery v3 the result of outerHeight on a node
@@ -38,7 +38,7 @@ $(() => {
}
});
if (typeof $ !== 'undefined') {
if (typeof $ !== "undefined") {
$.fn.expectOne = function () {
if (blueslip && this.length !== 1) {
blueslip.error("Expected one element in jQuery set, " + this.length + " found");