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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-27 16:15:23 -08:00
committed by Tim Abbott
parent a7b2e5ba03
commit e64c7a9efe
9 changed files with 32 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
"use strict";
const channel = require("./channel");
const upload_widget = require("./upload_widget");
exports.build_bot_create_widget = function () {
// We have to do strange gyrations with the file input to clear it,