1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-21 09:31:44 +03:00
tabby/app/src/settings/index.ts

43 lines
1.2 KiB
TypeScript
Raw Normal View History

2017-03-23 23:42:00 +03:00
import { BrowserModule } from '@angular/platform-browser'
import { NgModule } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
import { HotkeyInputComponent } from './components/hotkeyInput'
import { HotkeyDisplayComponent } from './components/hotkeyDisplay'
import { HotkeyHintComponent } from './components/hotkeyHint'
import { HotkeyInputModalComponent } from './components/hotkeyInputModal'
import { SettingsPaneComponent } from './components/settingsPane'
import { PluginDispatcherService } from 'services/pluginDispatcher'
import { SettingsTab } from './tab'
@NgModule({
imports: [
BrowserModule,
FormsModule,
NgbModule,
],
providers: [
],
entryComponents: [
HotkeyInputModalComponent,
SettingsPaneComponent,
],
declarations: [
HotkeyDisplayComponent,
HotkeyHintComponent,
HotkeyInputComponent,
HotkeyInputModalComponent,
SettingsPaneComponent,
],
})
class SettingsModule {
constructor (pluginDispatcher: PluginDispatcherService) {
pluginDispatcher.temp = SettingsTab
}
}
export default SettingsModule