Skip to content

Commit 3a7c9e4

Browse files
committed
docs(links): change bad links for Type RenderViewRef RenderFragmentRef, onEventDoneFn, and Renderer api.
1 parent 408618b commit 3a7c9e4

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Type, isPresent} from 'angular2/src/facade/lang';
33
import {Map, MapWrapper} from 'angular2/src/facade/collection';
44

55
/**
6-
* Resolve a {@link Type} from a {@link Component} into a URL.
6+
* Resolve a `Type` from a {@link Component} into a URL.
77
*
88
* This interface can be overridden by the application developer to create custom behavior.
99
*

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {Directive} from '../annotations_impl/annotations';
44
import {reflector} from 'angular2/src/reflection/reflection';
55

66
/**
7-
* Resolve a {@link Type} for {@link Directive}.
7+
* Resolve a `Type` for {@link Directive}.
88
*
99
* This interface can be overridden by the application developer to create custom behavior.
1010
*
@@ -13,7 +13,7 @@ import {reflector} from 'angular2/src/reflection/reflection';
1313
@Injectable()
1414
export class DirectiveResolver {
1515
/**
16-
* Return {@link Directive} for a given {@link Type}.
16+
* Return {@link Directive} for a given `Type`.
1717
*/
1818
resolve(type: Type): Directive {
1919
var annotations = reflector.annotations(resolveForwardRef(type));

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class ElementRef implements RenderElementRef {
2525
boundElementIndex: number;
2626

2727
/**
28-
* Index of the element inside the {@link RenderViewRef}.
28+
* Index of the element inside the `RenderViewRef`.
2929
*
3030
* This is used internally by the Angular framework to locate elements.
3131
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as viewModule from './view';
66
* Reference to a template within a component.
77
*
88
* Represents an opaque reference to the underlying template that can
9-
* be instantiated using the {@Link ViewContainerRef}.
9+
* be instantiated using the {@link ViewContainerRef}.
1010
*/
1111
export class TemplateRef {
1212
/**

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ export class ViewRef {
6767
constructor(public _view: viewModule.AppView) {}
6868

6969
/**
70-
* Return {@link RenderViewRef}
70+
* Return `RenderViewRef`
7171
*/
7272
get render(): RenderViewRef { return this._view.render; }
7373

7474
/**
75-
* Return {@link RenderFragmentRef}
75+
* Return `RenderFragmentRef`
7676
*/
7777
get renderFragment(): RenderFragmentRef { return this._view.renderFragment; }
7878

modules/angular2/src/core/zone/ng_zone.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class NgZone {
8888
* Sets the zone hook that is called immediately after the last turn in
8989
* an event completes. At this point Angular will no longer attempt to
9090
* sync the UI. Any changes to the data model will not be reflected in the
91-
* DOM. {@link onEventDoneFn} is executed outside Angular zone.
91+
* DOM. `onEventDoneFn` is executed outside Angular zone.
9292
*
9393
* This hook is useful for validating application state (e.g. in a test).
9494
*/

modules/angular2/src/core/zone/ng_zone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class NgZone {
8989
* Sets the zone hook that is called immediately after the last turn in
9090
* an event completes. At this point Angular will no longer attempt to
9191
* sync the UI. Any changes to the data model will not be reflected in the
92-
* DOM. {@link onEventDoneFn} is executed outside Angular zone.
92+
* DOM. `onEventDoneFn` is executed outside Angular zone.
9393
*
9494
* This hook is useful for validating application state (e.g. in a test).
9595
*/

modules/angular2/src/forms/directives/select_control_value_accessor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ import {setProperty} from './shared';
1111
* Marks <option> as dynamic, so Angular can be notified when options change.
1212
*
1313
* #Example:
14+
*
1415
* ```
1516
* <select ng-control="city">
1617
* <option *ng-for="#c of cities" [value]="c"></option>
1718
* </select>
18-
* ``
19+
* ```
1920
*/
2021
@Directive({selector: 'option'})
2122
export class NgSelectOption {

modules/angular2/src/render/api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,15 +356,15 @@ export class RenderViewWithFragments {
356356
/**
357357
* Abstract reference to the element which can be marshaled across web-worker boundry.
358358
*
359-
* This interface is used by the {@link Renderer} api.
359+
* This interface is used by the Renderer API.
360360
*/
361361
export interface RenderElementRef {
362362
/**
363-
* Reference to the {@link RenderViewRef} where the `RenderElementRef` is inside of.
363+
* Reference to the `RenderViewRef` where the `RenderElementRef` is inside of.
364364
*/
365365
renderView: RenderViewRef;
366366
/**
367-
* Index of the element inside the {@link RenderViewRef}.
367+
* Index of the element inside the `RenderViewRef`.
368368
*
369369
* This is used internally by the Angular framework to locate elements.
370370
*/

0 commit comments

Comments
 (0)