zulip/frontend_tests
Steve Howell 8eb86335b9 Extract narrow_state.js.
Despite the length of this commit, it is a very straightforward
moving of code from narrow.js -> narrow_state.js, and then
everything else is just s/narrow.foo()/narrow_state.foo()/
(with a few tiny cleanups to remove some code duplication
in certain callers).

The only new functions are simple setter/getters that
encapsulate the current_filter variable:

    narrow_state.reset_current_filter()
    narrow_state.set_current_filter()
    narrow_state.get_current_filter()

We removed narrow.predicate() as part of this, since it was dead
code.

Also, we removed the shim for narrow_state.set_compose_defaults(),
and since that was the last shim, we removed shim.js from the app.
2017-04-25 09:57:32 -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 narrow_state.js. 2017-04-25 09:57:32 -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 Disable proxy setting for test-backend and test-js-with-casper. 2017-04-18 12:35:44 -07:00