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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-27 15:35:35 -08:00
committed by Tim Abbott
parent 4df3fef88f
commit a3e6ebb04c
26 changed files with 47 additions and 33 deletions

View File

@@ -1,6 +1,8 @@
"use strict";
const _ = require("lodash");
const common = require("./common");
/* Arguments used in the report_* functions are,
response- response that we want to display
status_box- element being used to display the response