Skip to content

Commit

Permalink
fix(aot): fix aot for prod - possible undefined (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlautier authored Feb 19, 2018
1 parent 2a41f4c commit a08252e
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 8 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<a name="1.0.2"></a>
# [1.0.2](https://github.com/sketch7/angular-skeleton-app/compare/1.0.1...1.0.2) (2018-02-19)

### Bug fixes

- **projects:** fix aot in html possible `undefined`
- **deps:** add `http-server` as `devDependency` in order to get `serve:prod` work easier

<a name="1.0.1"></a>
# [1.0.1](https://github.com/sketch7/angular-skeleton-app/compare/1.0.0...1.0.1) (2018-02-03)

Expand All @@ -8,7 +16,7 @@
- add tests for `nav`
- circle ci 2 integration

### Fixes
### Bug fixes

- fix tests for `app`

Expand Down
63 changes: 63 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "^4.1.0",
"http-server": "^0.11.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
Expand Down
16 changes: 9 additions & 7 deletions src/app/areas/projects/project.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<div class="project-container project-tag--{{project.tag}}">
<span class="project-tag badge">{{project.tag}}</span>
<i class="project-icon fa fa-th-large fa-5x"
aria-hidden="true"></i>
<ng-container *ngIf="project">
<div class="project-container project-tag--{{project.tag}}">
<span class="project-tag badge">{{project.tag}}</span>
<i class="project-icon fa fa-th-large fa-5x"
aria-hidden="true"></i>

<h4 class="project-title">{{project.title}}</h4>
<h4 class="project-title">{{project.title}}</h4>

</div>
<span class="project-description">{{project.description}}</span>
</div>
<span class="project-description">{{project.description}}</span>
</ng-container>

0 comments on commit a08252e

Please sign in to comment.