From 3a7c9e4c623982f7afc8426eb2ffe483b3361e9d Mon Sep 17 00:00:00 2001 From: Naomi Black Date: Wed, 22 Jul 2015 22:07:51 -0700 Subject: [PATCH] docs(links): change bad links for Type RenderViewRef RenderFragmentRef, onEventDoneFn, and Renderer api. --- modules/angular2/src/core/compiler/component_url_mapper.ts | 2 +- modules/angular2/src/core/compiler/directive_resolver.ts | 4 ++-- modules/angular2/src/core/compiler/element_ref.ts | 2 +- modules/angular2/src/core/compiler/template_ref.ts | 2 +- modules/angular2/src/core/compiler/view_ref.ts | 4 ++-- modules/angular2/src/core/zone/ng_zone.dart | 2 +- modules/angular2/src/core/zone/ng_zone.ts | 2 +- .../src/forms/directives/select_control_value_accessor.ts | 3 ++- modules/angular2/src/render/api.ts | 6 +++--- 9 files changed, 14 insertions(+), 13 deletions(-) diff --git a/modules/angular2/src/core/compiler/component_url_mapper.ts b/modules/angular2/src/core/compiler/component_url_mapper.ts index d96ddd4237..aa83f88c5d 100644 --- a/modules/angular2/src/core/compiler/component_url_mapper.ts +++ b/modules/angular2/src/core/compiler/component_url_mapper.ts @@ -3,7 +3,7 @@ import {Type, isPresent} from 'angular2/src/facade/lang'; import {Map, MapWrapper} from 'angular2/src/facade/collection'; /** - * Resolve a {@link Type} from a {@link Component} into a URL. + * Resolve a `Type` from a {@link Component} into a URL. * * This interface can be overridden by the application developer to create custom behavior. * diff --git a/modules/angular2/src/core/compiler/directive_resolver.ts b/modules/angular2/src/core/compiler/directive_resolver.ts index ab91d67fa1..b8fb2ebdac 100644 --- a/modules/angular2/src/core/compiler/directive_resolver.ts +++ b/modules/angular2/src/core/compiler/directive_resolver.ts @@ -4,7 +4,7 @@ import {Directive} from '../annotations_impl/annotations'; import {reflector} from 'angular2/src/reflection/reflection'; /** - * Resolve a {@link Type} for {@link Directive}. + * Resolve a `Type` for {@link Directive}. * * This interface can be overridden by the application developer to create custom behavior. * @@ -13,7 +13,7 @@ import {reflector} from 'angular2/src/reflection/reflection'; @Injectable() export class DirectiveResolver { /** - * Return {@link Directive} for a given {@link Type}. + * Return {@link Directive} for a given `Type`. */ resolve(type: Type): Directive { var annotations = reflector.annotations(resolveForwardRef(type)); diff --git a/modules/angular2/src/core/compiler/element_ref.ts b/modules/angular2/src/core/compiler/element_ref.ts index 9fcea3e815..7d1b43f1d3 100644 --- a/modules/angular2/src/core/compiler/element_ref.ts +++ b/modules/angular2/src/core/compiler/element_ref.ts @@ -25,7 +25,7 @@ export class ElementRef implements RenderElementRef { boundElementIndex: number; /** - * Index of the element inside the {@link RenderViewRef}. + * Index of the element inside the `RenderViewRef`. * * This is used internally by the Angular framework to locate elements. */ diff --git a/modules/angular2/src/core/compiler/template_ref.ts b/modules/angular2/src/core/compiler/template_ref.ts index d654b50765..0491791afb 100644 --- a/modules/angular2/src/core/compiler/template_ref.ts +++ b/modules/angular2/src/core/compiler/template_ref.ts @@ -6,7 +6,7 @@ import * as viewModule from './view'; * Reference to a template within a component. * * Represents an opaque reference to the underlying template that can - * be instantiated using the {@Link ViewContainerRef}. + * be instantiated using the {@link ViewContainerRef}. */ export class TemplateRef { /** diff --git a/modules/angular2/src/core/compiler/view_ref.ts b/modules/angular2/src/core/compiler/view_ref.ts index 343859ac11..ff784dcb40 100644 --- a/modules/angular2/src/core/compiler/view_ref.ts +++ b/modules/angular2/src/core/compiler/view_ref.ts @@ -67,12 +67,12 @@ export class ViewRef { constructor(public _view: viewModule.AppView) {} /** - * Return {@link RenderViewRef} + * Return `RenderViewRef` */ get render(): RenderViewRef { return this._view.render; } /** - * Return {@link RenderFragmentRef} + * Return `RenderFragmentRef` */ get renderFragment(): RenderFragmentRef { return this._view.renderFragment; } diff --git a/modules/angular2/src/core/zone/ng_zone.dart b/modules/angular2/src/core/zone/ng_zone.dart index 42f291198f..1dcd726bf2 100644 --- a/modules/angular2/src/core/zone/ng_zone.dart +++ b/modules/angular2/src/core/zone/ng_zone.dart @@ -88,7 +88,7 @@ class NgZone { * Sets the zone hook that is called immediately after the last turn in * an event completes. At this point Angular will no longer attempt to * sync the UI. Any changes to the data model will not be reflected in the - * DOM. {@link onEventDoneFn} is executed outside Angular zone. + * DOM. `onEventDoneFn` is executed outside Angular zone. * * This hook is useful for validating application state (e.g. in a test). */ diff --git a/modules/angular2/src/core/zone/ng_zone.ts b/modules/angular2/src/core/zone/ng_zone.ts index ef5bcd04af..97fcf9710f 100644 --- a/modules/angular2/src/core/zone/ng_zone.ts +++ b/modules/angular2/src/core/zone/ng_zone.ts @@ -89,7 +89,7 @@ export class NgZone { * Sets the zone hook that is called immediately after the last turn in * an event completes. At this point Angular will no longer attempt to * sync the UI. Any changes to the data model will not be reflected in the - * DOM. {@link onEventDoneFn} is executed outside Angular zone. + * DOM. `onEventDoneFn` is executed outside Angular zone. * * This hook is useful for validating application state (e.g. in a test). */ diff --git a/modules/angular2/src/forms/directives/select_control_value_accessor.ts b/modules/angular2/src/forms/directives/select_control_value_accessor.ts index c05c54d11e..79bf463709 100644 --- a/modules/angular2/src/forms/directives/select_control_value_accessor.ts +++ b/modules/angular2/src/forms/directives/select_control_value_accessor.ts @@ -11,11 +11,12 @@ import {setProperty} from './shared'; * Marks