mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 15:32:56 +00:00 
			
		
		
		
	Unify coding style
This commit is contained in:
		@@ -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)
 | 
			
		||||
  };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user