11import  {  AsyncPipe ,  NgIf  }  from  '@angular/common' ; 
22import  {  Component  }  from  '@angular/core' ; 
3- import  {  GoogleAnalyticsService  }  from  '@trungk18 /services/google-analytics.service' ; 
4- import  {  TetrisQuery  }  from  '@trungk18 /state/tetris/tetris.query' ; 
3+ import  {  GoogleAnalyticsService  }  from  '@angular-tetris /services/google-analytics.service' ; 
4+ import  {  TetrisQuery  }  from  '@angular-tetris /state/tetris/tetris.query' ; 
55import  {  SharedButtonComponent  }  from  '../shared-button/shared-button.component' ; 
66const  HASHTAG  =  'angular,angulartetris,akita,typescript' ; 
77
@@ -13,11 +13,11 @@ const HASHTAG = 'angular,angulartetris,akita,typescript';
1313  styleUrls : [ './github.component.scss' ] 
1414} ) 
1515export  class  GithubComponent  { 
16-   max$ =  this . _query . max$ ; 
16+   max$   =  this . query . max$ ; 
1717  //eslint-disable-next-line max-len 
1818  tweetAngularTetrisUrl  =  `https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Ftrungk18%2Fangular-tetris&text=Awesome%20Tetris%20game%20built%20with%20Angular%2010%20and%20Akita%2C%20can%20you%20get%20999999%20points%3F&hashtags=${ HASHTAG }  ; 
1919
20-   constructor ( private  _query : TetrisQuery ,  private  _googleAnalytics : GoogleAnalyticsService )  { } 
20+   constructor ( private  query : TetrisQuery ,  private  googleAnalytics : GoogleAnalyticsService )  { } 
2121
2222  getTweetMaxScoreShareUrl ( max : number )  { 
2323    const  text  =  encodeURIComponent ( 
@@ -27,10 +27,10 @@ export class GithubComponent {
2727  } 
2828
2929  sendTwitterShareMaxScoreEvent ( )  { 
30-     this . _googleAnalytics . sendEvent ( 'Share Twitter High Score' ,  'button' ) ; 
30+     this . googleAnalytics . sendEvent ( 'Share Twitter High Score' ,  'button' ) ; 
3131  } 
3232
3333  sendTwitterShareEvent ( )  { 
34-     this . _googleAnalytics . sendEvent ( 'Share Twitter' ,  'button' ) ; 
34+     this . googleAnalytics . sendEvent ( 'Share Twitter' ,  'button' ) ; 
3535  } 
3636} 
0 commit comments