Skip to content

Commit 18a8e40

Browse files
authoredMar 16, 2018
Merge pull request #87 from clbond/fix-examples
Fix broken examples
2 parents 6f38a72 + 02f10e9 commit 18a8e40

File tree

7 files changed

+133
-130
lines changed

7 files changed

+133
-130
lines changed
 

‎examples/cli/package-lock.json

+42-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎examples/cli/src/app/app.module.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import {Subscription} from 'rxjs/Subscription';
1010

1111
import {AppComponent} from './app.component';
1212

13+
import {DialogContent} from './dialog-content.component';
14+
1315
@NgModule({
1416
imports: [
1517
BrowserAnimationsModule,
@@ -20,9 +22,10 @@ import {AppComponent} from './app.component';
2022
MaterialModule.forRoot(),
2123
],
2224
declarations: [
23-
AppComponent
25+
AppComponent,
26+
DialogContent
2427
],
2528
providers: [],
2629
bootstrap: [AppComponent]
2730
})
28-
export class AppModule {}
31+
export class AppModule {}

‎examples/demand-express/app/root.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class RootModule {
3737
return;
3838
}
3939

40-
const finished = Observable.combineLatest(router.events, zone.onMicrotaskEmpty);
40+
const finished = Observable.combineLatest(router.events, zone.onMicrotaskEmpty, zone.onStable);
4141

4242
const subscription = finished.subscribe(([event, stable]) => {
4343
if (stable === false) {

‎examples/demand-express/package-lock.json

+42-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Failed to load comments.