Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions modules/angular2/annotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
* Annotations provide the additional information that Angular requires in order to run your
* application. This module
* contains {@link Component}, {@link Directive}, and {@link View} annotations, as well as
* {@link Parent} and {@link Ancestor} annotations that are
* used by Angular to resolve dependencies.
* the {@link Ancestor} annotation that is used by Angular to resolve dependencies.
*
*/

Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/core/compiler/component_url_mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions modules/angular2/src/core/compiler/directive_resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/core/compiler/element_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/core/compiler/template_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down
4 changes: 2 additions & 2 deletions modules/angular2/src/core/compiler/view_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/core/zone/ng_zone.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/core/zone/ng_zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ import {setProperty} from './shared';
* Marks <option> as dynamic, so Angular can be notified when options change.
*
* #Example:
*
* ```
* <select ng-control="city">
* <option *ng-for="#c of cities" [value]="c"></option>
* </select>
* ``
* ```
*/
@Directive({selector: 'option'})
export class NgSelectOption {
Expand Down
6 changes: 3 additions & 3 deletions modules/angular2/src/render/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,15 @@ export class RenderViewWithFragments {
/**
* Abstract reference to the element which can be marshaled across web-worker boundry.
*
* This interface is used by the {@link Renderer} api.
* This interface is used by the Renderer API.
*/
export interface RenderElementRef {
/**
* Reference to the {@link RenderViewRef} where the `RenderElementRef` is inside of.
* Reference to the `RenderViewRef` where the `RenderElementRef` is inside of.
*/
renderView: RenderViewRef;
/**
* 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.
*/
Expand Down