File tree Expand file tree Collapse file tree 9 files changed +29
-26
lines changed
ng-if-responsive-showcase/src Expand file tree Collapse file tree 9 files changed +29
-26
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "singleQuote": true
3
+ }
Original file line number Diff line number Diff line change 1
- import { Component } from " @angular/core" ;
1
+ import { Component } from ' @angular/core' ;
2
2
3
3
@Component ( {
4
- selector : " app-root" ,
5
- templateUrl : " ./app.component.html" ,
6
- styleUrls : [ " ./app.component.scss" ] ,
4
+ selector : ' app-root' ,
5
+ templateUrl : ' ./app.component.html' ,
6
+ styleUrls : [ ' ./app.component.scss' ] ,
7
7
} )
8
8
export class AppComponent { }
Original file line number Diff line number Diff line change 1
- import { NgModule } from " @angular/core" ;
2
- import { BrowserModule } from " @angular/platform-browser" ;
3
- import { HIGHLIGHT_OPTIONS , HighlightModule } from " ngx-highlightjs" ;
1
+ import { NgModule } from ' @angular/core' ;
2
+ import { BrowserModule } from ' @angular/platform-browser' ;
3
+ import { HIGHLIGHT_OPTIONS , HighlightModule } from ' ngx-highlightjs' ;
4
4
5
- import { SampleComponent } from " ../../../ng-if-responsive/src/lib/sample.component" ;
5
+ import { SampleComponent } from ' ../../../ng-if-responsive/src/lib/sample.component' ;
6
6
7
- import { AppComponent } from " ./app.component" ;
7
+ import { AppComponent } from ' ./app.component' ;
8
8
9
9
@NgModule ( {
10
10
declarations : [ AppComponent ] ,
@@ -13,7 +13,7 @@ import { AppComponent } from "./app.component";
13
13
{
14
14
provide : HIGHLIGHT_OPTIONS ,
15
15
useValue : {
16
- fullLibraryLoader : async ( ) => await import ( " highlight.js" ) ,
16
+ fullLibraryLoader : async ( ) => await import ( ' highlight.js' ) ,
17
17
} ,
18
18
} ,
19
19
] ,
Original file line number Diff line number Diff line change 1
- import { enableProdMode } from " @angular/core" ;
2
- import { platformBrowserDynamic } from " @angular/platform-browser-dynamic" ;
1
+ import { enableProdMode } from ' @angular/core' ;
2
+ import { platformBrowserDynamic } from ' @angular/platform-browser-dynamic' ;
3
3
4
- import { AppModule } from " ./app/app.module" ;
5
- import { environment } from " ./environments/environment" ;
4
+ import { AppModule } from ' ./app/app.module' ;
5
+ import { environment } from ' ./environments/environment' ;
6
6
7
7
if ( environment . production ) {
8
8
enableProdMode ( ) ;
Original file line number Diff line number Diff line change 45
45
/***************************************************************************************************
46
46
* Zone JS is required by default for Angular itself.
47
47
*/
48
- import " zone.js" ; // Included with Angular CLI.
48
+ import ' zone.js' ; // Included with Angular CLI.
49
49
50
50
/***************************************************************************************************
51
51
* APPLICATION IMPORTS
Original file line number Diff line number Diff line change 1
- import { ChangeDetectionStrategy , Component } from " @angular/core" ;
1
+ import { ChangeDetectionStrategy , Component } from ' @angular/core' ;
2
2
3
- import { SampleService } from " ./sample.service" ;
3
+ import { SampleService } from ' ./sample.service' ;
4
4
5
5
@Component ( {
6
- selector : " angular-library-starter-sample" ,
6
+ selector : ' angular-library-starter-sample' ,
7
7
template : `<h1>
8
8
The best framework is {{ sampleService.getBestFramework() }}
9
9
</h1>` ,
Original file line number Diff line number Diff line change 1
- import { SampleService } from " ./sample.service" ;
1
+ import { SampleService } from ' ./sample.service' ;
2
2
3
- describe ( " Sample Service" , ( ) => {
3
+ describe ( ' Sample Service' , ( ) => {
4
4
let sut : SampleService ;
5
5
6
6
beforeEach ( ( ) => {
7
7
sut = new SampleService ( ) ;
8
8
} ) ;
9
9
10
- it ( " should know that Angular is the best framework" , ( ) => {
11
- expect ( sut . getBestFramework ( ) ) . toBe ( " Angular" ) ;
10
+ it ( ' should know that Angular is the best framework' , ( ) => {
11
+ expect ( sut . getBestFramework ( ) ) . toBe ( ' Angular' ) ;
12
12
} ) ;
13
13
} ) ;
Original file line number Diff line number Diff line change 1
- import { Injectable } from " @angular/core" ;
1
+ import { Injectable } from ' @angular/core' ;
2
2
3
3
@Injectable ( {
4
- providedIn : " root" ,
4
+ providedIn : ' root' ,
5
5
} )
6
6
export class SampleService {
7
7
public getBestFramework ( ) : string {
8
- return " Angular" ;
8
+ return ' Angular' ;
9
9
}
10
10
}
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Public API Surface of ng-if-responsive
3
3
*/
4
- export * from " ./lib/sample.component" ;
4
+ export * from ' ./lib/sample.component' ;
You can’t perform that action at this time.
0 commit comments