js: Use inside variant of IIFE wrappers.

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-16 13:35:58 -07:00
committed by Tim Abbott
parent 6924d501bc
commit a20c12366f
36 changed files with 118 additions and 118 deletions

View File

@@ -398,7 +398,7 @@ run_test("loading_newer", () => {
// since the last message event's data had been discarded.
// This fetch goes on until the newest message has been found.
assert.equal(msg_list.data.fetch_status.can_load_newer_messages(), false);
}());
})();
(function test_home() {
reset_lists();
@@ -455,6 +455,6 @@ run_test("loading_newer", () => {
assert.equal(msg_list.data.fetch_status.can_load_newer_messages(), false);
}());
})();
});