mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 05:01:56 +00:00
Rename testmessager -> testmessenger
This commit is contained in:
parent
1fddd234f2
commit
fc5ed3f06f
@ -5,7 +5,7 @@ import { DashboardComponent } from './dashboard/dashboard.component';
|
|||||||
import { WebideComponent } from './webide/webide.component';
|
import { WebideComponent } from './webide/webide.component';
|
||||||
import { TerminalComponent } from './terminal/terminal.component';
|
import { TerminalComponent } from './terminal/terminal.component';
|
||||||
import { MessagesComponent } from './messages/messages.component';
|
import { MessagesComponent } from './messages/messages.component';
|
||||||
import { TestmessagerComponent } from './testmessager/testmessager.component';
|
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: '', redirectTo: '/dashboard', pathMatch: 'full'},
|
{ path: '', redirectTo: '/dashboard', pathMatch: 'full'},
|
||||||
@ -13,7 +13,7 @@ const routes: Routes = [
|
|||||||
{ path: 'webide', component: WebideComponent },
|
{ path: 'webide', component: WebideComponent },
|
||||||
{ path: 'shell', component: TerminalComponent },
|
{ path: 'shell', component: TerminalComponent },
|
||||||
{ path: 'messages', component: MessagesComponent },
|
{ path: 'messages', component: MessagesComponent },
|
||||||
{ path: 'testmessager', component: TestmessagerComponent }
|
{ path: 'testmessenger', component: TestmessengerComponent }
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
@ -19,7 +19,7 @@ import { TerminalComponent } from './terminal/terminal.component';
|
|||||||
import { FSMUpdateService } from './services/fsmupdate.service';
|
import { FSMUpdateService } from './services/fsmupdate.service';
|
||||||
import { ProcessManagerService } from './services/processmanager.service';
|
import { ProcessManagerService } from './services/processmanager.service';
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { TestmessagerComponent } from './testmessager/testmessager.component';
|
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
@ -31,7 +31,7 @@ import { TestmessagerComponent } from './testmessager/testmessager.component';
|
|||||||
MessagesComponent,
|
MessagesComponent,
|
||||||
TerminalComponent,
|
TerminalComponent,
|
||||||
DashboardComponent,
|
DashboardComponent,
|
||||||
TestmessagerComponent
|
TestmessengerComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
|
@ -3,10 +3,10 @@ import { WebSocketService } from '../services/websocket.service';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-testmessager',
|
selector: 'app-testmessager',
|
||||||
templateUrl: './testmessager.component.html',
|
templateUrl: './testmessenger.component.html',
|
||||||
styleUrls: ['./testmessager.component.scss']
|
styleUrls: ['./testmessenger.component.scss']
|
||||||
})
|
})
|
||||||
export class TestmessagerComponent implements OnInit {
|
export class TestmessengerComponent implements OnInit {
|
||||||
messageStr = `{"key": "",\n"data": {}}`;
|
messageStr = `{"key": "",\n"data": {}}`;
|
||||||
|
|
||||||
constructor(private webSocketService: WebSocketService) {}
|
constructor(private webSocketService: WebSocketService) {}
|
Loading…
Reference in New Issue
Block a user