Skip to content

Commit 209aefe

Browse files
committed
docs(fix-docgen): Fix docgen issues with some recent updates to core
1 parent be79942 commit 209aefe

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

modules/angular2/src/core/compiler/interfaces.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,32 @@ import {global} from 'angular2/src/facade/lang';
66
// https://github.com/systemjs/systemjs/issues/487 gets closed.
77
var __ignore_me = global;
88
/**
9-
* Defines lifecycle method [onChange] called after all of component's bound
10-
* properties are updated.
9+
* Defines lifecycle method {@link annotations/LifeCycleEvent#onChange `LifeCycleEvent.onChange`}
10+
* called after all of component's bound properties are updated.
1111
*/
1212
export interface OnChange { onChange(changes: StringMap<string, any>): void; }
1313

1414
/**
15-
* Defines lifecycle method [onDestroy] called when a directive is being destroyed.
15+
* Defines lifecycle method {@link annotations/LifeCycleEvent#onDestroy `LifeCycleEvent.onDestroy`}
16+
* called when a directive is being destroyed.
1617
*/
1718
export interface OnDestroy { onDestroy(): void; }
1819

1920
/**
20-
* Defines lifecycle method [onCheck] called when a directive is being checked.
21+
* Defines lifecycle method {@link annotations/LifeCycleEvent#onCheck `LifeCycleEvent.onCheck`}
22+
* called when a directive is being checked.
2123
*/
2224
export interface OnCheck { onCheck(): void; }
2325

2426
/**
25-
* Defines lifecycle method [onInit] called when a directive is being checked the first time.
27+
* Defines lifecycle method {@link annotations/LifeCycleEvent#onInit `LifeCycleEvent.onInit`}
28+
* called when a directive is being checked the first time.
2629
*/
2730
export interface OnInit { onInit(): void; }
2831

2932
/**
30-
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have
31-
* been changed.
33+
* Defines lifecycle method
34+
* {@link annotations/LifeCycleEvent#onAllChangesDone `LifeCycleEvent.onAllChangesDone`}
35+
* called when the bindings of all its children have been changed.
3236
*/
3337
export interface OnAllChangesDone { onAllChangesDone(): void; }

modules/angular2/src/di/metadata.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ export class SkipSelfMetadata {
159159
* var nd = grandChild.get(NeedsDependency);
160160
* expect(nd.dependency).toBeAnInstanceOf(HostDependency);
161161
* ```
162-
* ```
163162
*/
164163
@CONST()
165164
export class HostMetadata {

0 commit comments

Comments
 (0)