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

@@ -6,7 +6,7 @@
exports.message = function (response, status_box, cls, remove_after) {
if (cls === undefined) {
cls = 'alert';
cls = "alert";
}
// Note we use html() below, since we can rely on our callers escaping HTML
@@ -33,11 +33,11 @@ exports.error = function (response, xhr, status_box, remove_after) {
}
}
exports.message(response, status_box, 'alert-error', remove_after);
exports.message(response, status_box, "alert-error", remove_after);
};
exports.success = function (response, status_box, remove_after) {
exports.message(response, status_box, 'alert-success', remove_after);
exports.message(response, status_box, "alert-success", remove_after);
};
exports.generic_embed_error = function (error) {