mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
widgetize: Move widget registration to new widgets module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
0c991d813f
commit
e48771993b
10
web/src/widgets.js
Normal file
10
web/src/widgets.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import * as poll_widget from "./poll_widget";
|
||||
import * as todo_widget from "./todo_widget";
|
||||
import * as widgetize from "./widgetize";
|
||||
import * as zform from "./zform";
|
||||
|
||||
export function initialize() {
|
||||
widgetize.widgets.set("poll", poll_widget);
|
||||
widgetize.widgets.set("todo", todo_widget);
|
||||
widgetize.widgets.set("zform", zform);
|
||||
}
|
||||
Reference in New Issue
Block a user