zulip/static
Steve Howell 70b7d4c00b Extract compose_state.js.
This is mostly just moving methods out of compose.js.

The variable `is_composing_message`, which isn't a boolean, has
been renamed to `message_type`, and there are new functions
set_message_type() and get_message_type() that wrap it.

This commit removes some shims related to the global variable
`compose_state`; now, `compose_state` is a typical global
variable with a 1:1 relationship with the module by the same
name.

The new module has 100% line coverage, most of it coming
via the tests on compose_actions.js.  (The methods here are
super simple, so it's a good thing that the tests are somewhat
integrated with a higher layer.)
2017-04-18 12:26:58 -07:00
..
assets Change portico navbar style. 2017-02-13 17:02:03 -08:00
audio Change audible notification to a "knock" sound. 2014-02-12 17:09:39 -05:00
generated Move static/third/gemoji to static/generated/emoji. 2016-12-27 20:16:23 -08:00
html Fix end tags in 404/5xx pages. 2016-07-09 17:34:49 -07:00
images user docs: Document nested list bullets. 2017-04-17 21:51:14 -07:00
js Extract compose_state.js. 2017-04-18 12:26:58 -07:00
locale Fix spelling of "occurred" in various places. 2017-04-17 20:29:07 -07:00
styles analytics: Add a 'me' option for messages_sent_over_time. 2017-04-17 22:18:24 -07:00
templates Clean emoji-settings-admin.handlebars to use 4 space indents. 2017-04-18 12:06:31 -07:00
third Fix spelling of "occurred" in various places. 2017-04-17 20:29:07 -07:00
.gitignore Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
favicon.ico Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
node_modules Create static/node_modules symlink. 2016-08-25 15:32:08 -07:00
robots.txt Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00