Skip to content

Commit

Permalink
fixup! docs(upgrade): add gotchas/tips/example for multiple downgrade…
Browse files Browse the repository at this point in the history
…d modules
  • Loading branch information
gkalpak committed Dec 20, 2018
1 parent 5a38cec commit 5cb5cce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -127,21 +127,21 @@ const appModule =
.component('exampleApp', {template: '<ng2-a></ng2-a> | <ng2-b></ng2-b> | <ng2-c></ng2-c>'})
.directive('ng2A', downgradeComponent({
component: Ng2AComponent,
// Since there are more than one downgraded Angular module,
// Since there is more than one downgraded Angular module,
// specify which module this component belongs to.
downgradedModule: downgradedNg2AModule,
propagateDigest: false,
}))
.directive('ng2B', downgradeComponent({
component: Ng2BComponent,
// Since there are more than one downgraded Angular module,
// Since there is more than one downgraded Angular module,
// specify which module this component belongs to.
downgradedModule: downgradedNg2BModule,
propagateDigest: false,
}))
.directive('ng2C', downgradeComponent({
component: Ng2CComponent,
// Since there are more than one downgraded Angular module,
// Since there is more than one downgraded Angular module,
// specify which module this component belongs to.
downgradedModule: downgradedNg2CModule,
propagateDigest: false,
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/upgrade/static/ts/lite-multi/module.ts
Expand Up @@ -103,14 +103,14 @@ const appModule =
})
.directive('ng2A', downgradeComponent({
component: Ng2AComponent,
// Since there are more than one downgraded Angular module,
// Since there is more than one downgraded Angular module,
// specify which module this component belongs to.
downgradedModule: downgradedNg2AModule,
propagateDigest: false,
}))
.directive('ng2B', downgradeComponent({
component: Ng2BComponent,
// Since there are more than one downgraded Angular module,
// Since there is more than one downgraded Angular module,
// specify which module this component belongs to.
downgradedModule: downgradedNg2BModule,
propagateDigest: false,
Expand Down

0 comments on commit 5cb5cce

Please sign in to comment.