diff options
Diffstat (limited to 'chromium/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.js')
-rw-r--r-- | chromium/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chromium/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.js b/chromium/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.js index 0322d992dd3..951e7faf5fe 100644 --- a/chromium/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.js +++ b/chromium/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.js @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -cr.define('cr.ui', function() { /** This is used to identify keyboard shortcuts. */ class KeyboardShortcut { /** @@ -66,7 +65,7 @@ cr.define('cr.ui', function() { } /** A list of keyboard shortcuts which all perform one command. */ - /* #export */ class KeyboardShortcutList { + export class KeyboardShortcutList { /** * @param {string} shortcuts Text-based representation of one or more * keyboard shortcuts, separated by spaces. @@ -90,9 +89,3 @@ cr.define('cr.ui', function() { } } - // #cr_define_end - console.warn('crbug/1173575, non-JS module files deprecated.'); - return { - KeyboardShortcutList: KeyboardShortcutList, - }; -}); |