js: Convert static/js/filter.js to ES6 module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-27 15:45:40 -08:00
committed by Tim Abbott
parent 16668904c1
commit cfacf68fb8
33 changed files with 46 additions and 35 deletions

View File

@@ -50,7 +50,7 @@ const stream_list = set_global("stream_list", {
rewiremock.enable();
const message_fetch = zrequire("message_fetch");
const Filter = zrequire("Filter", "js/filter");
const {Filter} = zrequire("Filter", "js/filter");
const message_list = zrequire("message_list");
const people = zrequire("people");