discourse/test
Martin Brennan befaf39aca
DEV: Refactor and test plugin addKeyboardShortcut (#9381)
Refactor plugin-api `addKeyboardShortcut` to point to `KeyboardShortcuts`.
* Do not add shortcuts to the default object directly.
* Create an addShortcut function in keyboard-shortcuts to add shortcuts safely and call to bindKey to be able to use opts.
* Refactor controllers/bookmark.js to use new addShortcut func and emove unnecessary addBindings.
* No longer export keyboard shortcut bindings, rename to DEFAULT_BINDINGS and remove export, these do not need to be accessed by anything else.
2020-04-09 10:30:26 +10:00
..
javascripts DEV: Refactor and test plugin addKeyboardShortcut (#9381) 2020-04-09 10:30:26 +10:00
stylesheets Manage qunit via yarn. 2018-09-11 15:07:28 +08:00
run-qunit.js DEV: use REPORT_REQUESTS=1 to find all requests 2020-04-02 16:01:49 +11:00
smoke_test.js DEV: Use classes for styling user and group cards (#8913) 2020-02-13 09:58:17 +00:00