diff options
Diffstat (limited to 'client/src/app/core/hotkeys/hotkeys.module.ts')
-rw-r--r-- | client/src/app/core/hotkeys/hotkeys.module.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/client/src/app/core/hotkeys/hotkeys.module.ts b/client/src/app/core/hotkeys/hotkeys.module.ts deleted file mode 100644 index 7d420587e..000000000 --- a/client/src/app/core/hotkeys/hotkeys.module.ts +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | import { NgModule, ModuleWithProviders } from '@angular/core' | ||
2 | import { CommonModule } from '@angular/common' | ||
3 | import { HotkeysDirective, IHotkeyOptions, HotkeyOptions, HotkeysService } from 'angular2-hotkeys' | ||
4 | import { CheatSheetComponent } from './hotkeys.component' | ||
5 | |||
6 | export * from './hotkeys.component' | ||
7 | |||
8 | @NgModule({ | ||
9 | imports : [CommonModule], | ||
10 | exports : [HotkeysDirective, CheatSheetComponent], | ||
11 | declarations : [HotkeysDirective, CheatSheetComponent] | ||
12 | }) | ||
13 | export class HotkeyModule { | ||
14 | static forRoot (options: IHotkeyOptions = {}): ModuleWithProviders { | ||
15 | return { | ||
16 | ngModule : HotkeyModule, | ||
17 | providers : [ | ||
18 | HotkeysService, | ||
19 | { provide : HotkeyOptions, useValue : options } | ||
20 | ] | ||
21 | } | ||
22 | } | ||
23 | } | ||