Files
zulip/static/js
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
..
2017-03-19 11:05:44 -07:00
2017-04-18 12:26:58 -07:00
2017-04-18 12:26:58 -07:00
2017-04-18 12:26:58 -07:00
2017-03-19 11:05:44 -07:00
2017-04-07 15:20:12 -07:00
2017-04-18 12:26:58 -07:00
2017-02-14 23:25:22 -08:00
2017-04-18 12:26:58 -07:00
2017-04-18 12:26:58 -07:00
2017-03-19 21:03:45 -07:00
2017-04-18 12:26:58 -07:00
2017-04-07 15:20:12 -07:00
2017-04-06 11:28:36 -07:00
2017-04-06 11:28:36 -07:00
2017-04-18 12:26:58 -07:00
2017-03-19 21:03:45 -07:00
2017-04-18 12:26:58 -07:00
2017-03-27 14:30:28 -07:00
2017-04-06 12:23:44 -07:00
2017-03-19 11:05:45 -07:00
2017-03-22 07:29:42 -07:00
2017-03-22 07:29:42 -07:00
2017-03-19 11:05:45 -07:00
2017-04-03 07:13:25 -07:00
2017-03-18 10:35:52 -07:00
2016-12-07 16:11:52 -08:00