mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
js: Use jQuery as a module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
const {strict: assert} = require("assert");
|
||||
|
||||
const {stub_templates} = require("../zjsunit/handlebars");
|
||||
const {mock_esm, zrequire} = require("../zjsunit/namespace");
|
||||
const {mock_cjs, mock_esm, zrequire} = require("../zjsunit/namespace");
|
||||
const {run_test} = require("../zjsunit/test");
|
||||
const $ = require("../zjsunit/zjquery");
|
||||
|
||||
mock_cjs("jquery", $);
|
||||
const channel = mock_esm("../../static/js/channel");
|
||||
|
||||
const alert_words = zrequire("alert_words");
|
||||
|
||||
Reference in New Issue
Block a user