mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:11:32 +00:00
Unify coding style
This commit is contained in:
parent
61b890cf98
commit
6ee58da7e4
@ -26,10 +26,12 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
iframeUrl: string = config.dashboard.iframeUrl;
|
||||
selectedTerminalMenuItem: string = config.dashboard.terminalOrConsole;
|
||||
|
||||
command_handlers = {'layout': this.layoutHandler.bind(this),
|
||||
'hideMessages': this.hideMessagesHandler.bind(this),
|
||||
'terminalMenuItem': this.terminalMenuItemHandler.bind(this),
|
||||
'reloadFrontend': this.reloadFrontendHandlder.bind(this)};
|
||||
command_handlers = {
|
||||
'layout': this.layoutHandler.bind(this),
|
||||
'hideMessages': this.hideMessagesHandler.bind(this),
|
||||
'terminalMenuItem': this.terminalMenuItemHandler.bind(this),
|
||||
'reloadFrontend': this.reloadFrontendHandlder.bind(this)
|
||||
};
|
||||
|
||||
constructor(private deploymentNotificationService: DeploymentNotificationService,
|
||||
private webSocketService: WebSocketService,
|
||||
|
@ -18,6 +18,7 @@ import { CommandMessage } from '../message-types/command-message';
|
||||
export class MessagesComponent implements OnInit {
|
||||
messages: MessagesMessage[] = [];
|
||||
showNextButton: boolean = config.messages.showNextButton;
|
||||
|
||||
command_handlers = {
|
||||
'showNextButton': this.showButtonHandler.bind(this)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user