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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-27 15:47:56 -08:00
committed by Tim Abbott
parent a1e9be884d
commit b830f53eb5
47 changed files with 161 additions and 118 deletions

View File

@@ -4,6 +4,7 @@ const autosize = require("autosize");
const {MessageListData} = require("./message_list_data");
const {MessageListView} = require("./message_list_view");
const narrow_state = require("./narrow_state");
exports.narrowed = undefined;
exports.set_narrowed = function (value) {