zulip/static
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
..
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 integrations: Remove deprecated Stash integration. 2017-04-24 22:35:23 -07:00
js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
locale Fix spelling of "occurred" in various places. 2017-04-17 20:29:07 -07:00
styles frontend: Add UI necessary to change emoji set. 2017-04-24 22:31:30 -07:00
templates frontend: Add UI necessary to change emoji set. 2017-04-24 22:31:30 -07:00
third KaTeX: Fix path to KaTeX bundle in production. 2017-04-21 14:56:19 -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