zulip/static
Michael Cordover 53e23743ca Refactor hotkey logic.
Place all hotkey names into a set of three objects in hotkeys.js:

 * hotkeys_shift_insensitive
   These are keys where the behaviour is the same whether they are
   pressed with shift or not.

 * hotkeys_no_modifiers
   These are keys where the event should only be fired when shift
   is not being pressed.

 * hotkeys_shift
   These are keys where the event should only be fired when the key
   is pressed simultaneously with shift.

Each object is a dictionary of key value pairs, with the key being
the keyscan code (e.which) for the key. This is normally the ASCII
key code. The value is an object with two properties, name (which
is the event name) and message_view_only, a boolean. Hotkeys with
message_view_only set to true will not be fired when the home tab
is obscured.
2016-06-13 15:43:49 -07:00
..
audio Change audible notification to a "knock" sound. 2014-02-12 17:09:39 -05:00
html Update Zulip support email to zulip-devel@googlegroups.com. 2015-09-29 17:59:47 -07:00
images Add Crashlytics integration. 2016-06-04 15:18:42 -07:00
js Refactor hotkey logic. 2016-06-13 15:43:49 -07:00
styles Make default_streams web controllable. 2016-06-09 15:24:32 -07:00
templates Fix URL for zulip_main.png for i18n site. 2016-06-13 09:12:52 -07:00
third Remove pre-built emoji images from version control. 2015-09-25 00:22:15 -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
robots.txt Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00