Skip to content

Commit 11b98f0

Browse files
committed
refactor: Prettier updates after updating to new version
- remove unused npm scripts
1 parent 320a105 commit 11b98f0

File tree

5 files changed

+9
-25
lines changed

5 files changed

+9
-25
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-angular-material-hybrid-demo",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"private": true,
55
"scripts": {
66
"ng": "ng",
@@ -10,10 +10,8 @@
1010
"watch:templates": "gulp watch",
1111
"build": "npm run build:templates && ng build",
1212
"build:prod": "npm run build:templates && ng build --prod",
13-
"test": "ng test",
1413
"prettier": "prettier --write \"**/*.{js,json,css,scss,less,md,ts,html,component.html}\"",
1514
"lint": "ng lint",
16-
"e2e": "ng e2e",
1715
"smex": "source-map-explorer",
1816
"deploy": "npm run build:templates && ng deploy",
1917
"update": "npm-check -u"

src/app/angular/app.component.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,16 @@ <h2>{{ name }} Hybrid</h2>
55
<mat-accordion>
66
<mat-expansion-panel>
77
<mat-expansion-panel-header>
8-
<mat-panel-title>
9-
AngularJS Material
10-
</mat-panel-title>
11-
<mat-panel-description>
12-
Components built for AngularJS 1.x
13-
</mat-panel-description>
8+
<mat-panel-title> AngularJS Material </mat-panel-title>
9+
<mat-panel-description> Components built for AngularJS 1.x </mat-panel-description>
1410
</mat-expansion-panel-header>
1511
<!-- AngularJS Component that uses templateUrl-->
1612
<ng1-tabs></ng1-tabs>
1713
</mat-expansion-panel>
1814
<mat-expansion-panel>
1915
<mat-expansion-panel-header>
20-
<mat-panel-title>
21-
Angular Material
22-
</mat-panel-title>
23-
<mat-panel-description>
24-
Components built for Angular version 9
25-
</mat-panel-description>
16+
<mat-panel-title> Angular Material </mat-panel-title>
17+
<mat-panel-description> Components built for Angular version 9 </mat-panel-description>
2618
</mat-expansion-panel-header>
2719
<app-tabs></app-tabs>
2820
</mat-expansion-panel>

src/app/angular/top-nav/top-nav.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<mat-toolbar color="primary" class="mat-elevation-z1">
22
<span>Angular Upgrade and Angular CLI Demo</span>
3-
<span style="flex: auto;"></span>
3+
<span style="flex: auto"></span>
44
<a mat-icon-button href="https://github.com/Splaktar/angularjs-angular-material-hybrid-demo" target="_blank" rel="noopener">
55
<mat-icon svgIcon="github"></mat-icon>
66
</a>

src/app/angularjs/tabs.component.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,12 @@
3434
<md-tab>
3535
<md-tab-label>tab two</md-tab-label>
3636
<md-tab-body>
37-
<div class="md-padding md-margin">
38-
tab two content
39-
</div>
37+
<div class="md-padding md-margin">tab two content</div>
4038
</md-tab-body>
4139
</md-tab>
4240
<md-tab>
4341
<md-tab-label>tab three</md-tab-label>
44-
<md-tab-body>
45-
<div class="md-padding md-margin">
46-
tab three content
47-
</div></md-tab-body
48-
>
42+
<md-tab-body> <div class="md-padding md-margin">tab three content</div></md-tab-body>
4943
</md-tab>
5044
</md-tabs>
5145
</div>

0 commit comments

Comments
 (0)