File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
templates/app/client/app/main Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,18 @@ import { SocketService } from '../../components/socket/socket.service';
88 styles : [ require ( './main.<%=styleExt%>' ) ] ,
99} )
1010export class MainComponent implements OnInit < % if ( filters . socketio ) { % > , OnDestroy < % } % > {
11- Http ;
1211 < % _ if ( filters . socketio ) { - % >
1312 SocketService ; < % } % >
1413 awesomeThings = [ ] ;
1514 < % _ if ( filters . models ) { - % >
1615 newThing = '' ; < % } % >
1716
18- static parameters = [Http, SocketService];
19- constructor(_Http_: Http< % if ( filters . socketio ) { % > , _SocketService_: SocketService< % } % > ) {
20- this . Http = _Http_ ;
17+ < % _ if ( filters . babel ) { - % >
18+ static parameters = [ Http , SocketService ] ; < % } % >
19+ constructor(< %= private ( ) % > http: Http< % if ( filters . socketio ) { % > , < %= private ( ) % > socketService: SocketService< % } % > ) {
20+ this . Http = http ;
2121 < % _ if ( filters . socketio ) { - % >
22- this . SocketService = _SocketService_ ; < % } %>
22+ this . SocketService = socketService ; < % } %>
2323 }
2424
2525 ngOnInit ( ) {
You can’t perform that action at this time.
0 commit comments