mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 11:52:56 +08:00
3fd8fc97a2
While the `keydown` handler is the only way of reliably catching special keys, for textual input `keypress` is preferable, as it can handle thing like parens without having to hardcode a keyboard. I moved that code and in the process converted some magic numbers to constants - mostly so I can read stuff better. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |