mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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. |
||
---|---|---|
.. | ||
select-kit | ||
ace-editor-test.js | ||
admin-report-test.js | ||
badge-title-test.js | ||
d-button-test.js | ||
d-editor-test.js | ||
d-icon-test.js | ||
date-input-test.js | ||
date-time-input-range-test.js | ||
date-time-input-test.js | ||
group-membership-button-test.js | ||
html-safe-helper-test.js | ||
iframed-html-test.js | ||
image-uploader-test.js | ||
keyboard-shortcuts-test.js | ||
load-more-test.js | ||
secret-value-list-test.js | ||
share-button-test.js | ||
share-button.js | ||
text-field-test.js | ||
text-overflow-test.js | ||
time-input-test.js | ||
user-selector-test.js | ||
value-list-test.js |