Creating ohif:commands package
This commit is contained in:
1 parent
2f81c0e2e7
commit
dbbcbe6e67
6 files changed
+151
-48
No files matched your search
@@ -1,18 +1,11 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import { HotkeysManager } from 'meteor/ohif:hotkeys/client/classes/HotkeysManager';
|
||||
|
||||
/**
|
||||
* Create hotkeys namespace using a HotkeysManager class instance
|
||||
*/
|
||||
// Create hotkeys namespace using a HotkeysManager class instance
|
||||
const hotkeys = new HotkeysManager();
|
||||
|
||||
/**
|
||||
* Append hotkeys namespace to OHIF namespace
|
||||
*/
|
||||
|
||||
// Append hotkeys namespace to OHIF namespace
|
||||
OHIF.hotkeys = hotkeys;
|
||||
|
||||
/**
|
||||
* Export relevant objects
|
||||
*/
|
||||
// Export relevant objects
|
||||
export { hotkeys };
|
||||
Reference in new issue
Block a user