mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
This moves the implementations of error/report/message from ui.js to ui_report.js. They had been shimmed before, so calling modules still use the same names to call the functions, but we no longer need the shims.
21 lines
642 B
JavaScript
21 lines
642 B
JavaScript
/*
|
|
|
|
This module has shims to help us break circular dependencies.
|
|
We eventually want to to move the actual implementations into
|
|
new modules. When we do this, you may need to fix node tests
|
|
that still refer to the old name.
|
|
*/
|
|
|
|
var narrow_state = {}; // global, should be made into module
|
|
narrow_state.set_compose_defaults = narrow.set_compose_defaults;
|
|
|
|
var compose_actions = {};
|
|
compose_actions.start = compose.start;
|
|
compose_actions.cancel = compose.cancel;
|
|
|
|
var compose_state = {};
|
|
compose_state.has_message_content = compose.has_message_content;
|
|
compose_state.recipient = compose.recipient;
|
|
compose_state.composing = compose.composing;
|
|
|