Move ohif:hotkeys into ohif:core

This commit is contained in:
Erik Ziegler committed 2018-12-12 09:11:29 +01:00
1 parent 1abd0e6f9d
commit 184c959037
10 files changed
+14 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { OHIF } from 'meteor/ohif:core';
import { HotkeysManager } from '/client/classes/HotkeysManager';
import 'jquery.hotkeys';
// Create hotkeys namespace using a HotkeysManager class instance
const hotkeys = new HotkeysManager();
// Append hotkeys namespace to OHIF namespace
OHIF.hotkeys = hotkeys;
// Export relevant objects
export { hotkeys };