zulip/frontend_tests
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
..
casper_lib capser: Close the compose box in un_narrow(). 2017-04-17 22:54:36 -07:00
casper_tests stream_filter: Add clear-search button to Search stream input field. 2017-04-17 11:12:01 -07:00
node_tests Extract compose_state.js. 2017-04-18 12:26:58 -07:00
zjsunit Move thirdparty-fonts.css from static/styles to static/third. 2017-03-21 13:40:05 -07:00
.eslintrc.json Eslint: Add additioanl rules, some for GCI. 2016-12-05 10:01:56 -08:00
run-casper tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00