mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
compose: Add brief comments documenting the modules.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/* Main compose box module for sending messages. */
|
||||
|
||||
import autosize from "autosize";
|
||||
import $ from "jquery";
|
||||
import _ from "lodash";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* Module primarily for opening/closing the compose box. */
|
||||
|
||||
import autosize from "autosize";
|
||||
import $ from "jquery";
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* Compose box module responsible for the message's recipient */
|
||||
|
||||
import $ from "jquery";
|
||||
import _ from "lodash";
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* Compose box module responsible for manipulating the compose box
|
||||
textarea correctly. */
|
||||
|
||||
import autosize from "autosize";
|
||||
import $ from "jquery";
|
||||
import {insert, replace, set, wrapSelection} from "text-field-edit";
|
||||
@@ -474,6 +477,8 @@ export function format_text($textarea, type) {
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: This functions don't belong in this module, as they have
|
||||
* nothing to do with the compose textarea. */
|
||||
export function hide_compose_spinner() {
|
||||
compose_spinner_visible = false;
|
||||
$("#compose-send-button .loader").hide();
|
||||
|
||||
Reference in New Issue
Block a user