Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Update material version to rc3 & fix type for ExampleViewer #345

Merged
merged 1 commit into from
Dec 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"private": true,
"dependencies": {
"@angular/animations": "^5.0.0",
"@angular/cdk": "^5.0.0-rc.2",
"@angular/cdk": "^5.0.0-rc.3",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/material": "^5.0.0-rc.2",
"@angular/material-moment-adapter": "^5.0.0-rc.2",
"@angular/material": "^5.0.0-rc.3",
"@angular/material-moment-adapter": "^5.0.0-rc.3",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/doc-viewer/doc-viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class DocViewer implements OnDestroy {
element, this._componentFactoryResolver, this._appRef, this._injector);
let examplePortal = new ComponentPortal(componentClass, this._viewContainerRef);
let exampleViewer = portalHost.attach(examplePortal);
exampleViewer.instance.example = example;
(exampleViewer.instance as ExampleViewer).example = example;

this._portalHosts.push(portalHost);
});
Expand Down