chore(doc-gen): remove unnecessary @public
and @exportedAs
tags
This commit is contained in:
@ -403,8 +403,6 @@ import {DEFAULT} from 'angular2/change_detection';
|
||||
* Note also that although the `<li></li>` template still exists inside the `<template></template>`,
|
||||
* the instantiated
|
||||
* view occurs on the second `<li></li>` which is a sibling to the `<template>` element.
|
||||
*
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
@CONST()
|
||||
export class Directive extends InjectableMetadata {
|
||||
@ -841,8 +839,6 @@ export class Directive extends InjectableMetadata {
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
*
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
@CONST()
|
||||
export class Component extends Directive {
|
||||
@ -958,7 +954,6 @@ export class LifecycleEvent {
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
export const onDestroy: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onDestroy"));
|
||||
|
||||
@ -996,7 +991,6 @@ export const onDestroy: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onDestro
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
export const onChange: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onChange"));
|
||||
|
||||
@ -1020,7 +1014,6 @@ export const onChange: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onChange"
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
export const onCheck: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onCheck"));
|
||||
|
||||
@ -1044,7 +1037,6 @@ export const onCheck: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onCheck"))
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
export const onInit: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onInit"));
|
||||
|
||||
@ -1066,6 +1058,5 @@ export const onInit: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onInit"));
|
||||
*
|
||||
* }
|
||||
* ```
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
export const onAllChangesDone: LifecycleEvent = CONST_EXPR(new LifecycleEvent("onAllChangesDone"));
|
||||
|
@ -27,8 +27,6 @@ import {resolveForwardRef} from 'angular2/di';
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
@CONST()
|
||||
export class Attribute extends DependencyMetadata {
|
||||
@ -49,8 +47,6 @@ export class Attribute extends DependencyMetadata {
|
||||
* Specifies that a {@link QueryList} should be injected.
|
||||
*
|
||||
* See {@link QueryList} for usage and example.
|
||||
*
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
@CONST()
|
||||
export class Query extends DependencyMetadata {
|
||||
|
@ -30,8 +30,6 @@ import {ABSTRACT, CONST, Type} from 'angular2/src/facade/lang';
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/annotations
|
||||
*/
|
||||
@CONST()
|
||||
export class View {
|
||||
|
@ -275,8 +275,6 @@ function _createNgZone(givenReporter: Function): NgZone {
|
||||
* unhandled exceptions.
|
||||
*
|
||||
* Returns a `Promise` of {@link ApplicationRef}.
|
||||
*
|
||||
* @exportedAs angular2/core
|
||||
*/
|
||||
export function bootstrap(appComponentType: Type,
|
||||
componentInjectableBindings: List<Type | Binding | List<any>> = null,
|
||||
|
@ -6,8 +6,6 @@ import {List, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||
*
|
||||
* In the future this class will implement an Observable interface.
|
||||
* For now it uses a plain list of observable callbacks.
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
export class BaseQueryList<T> {
|
||||
protected _results: List<T> = [];
|
||||
|
@ -79,8 +79,6 @@ export class CompilerCache {
|
||||
* var componentResolvedUrl = urlResolver.resolve(appRootUrl.value, componentUrl);
|
||||
* var templateResolvedUrl = urlResolver.resolve(componetResolvedUrl, url);
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
@Injectable()
|
||||
export class Compiler {
|
||||
|
@ -6,9 +6,6 @@ import {AppViewManager} from 'angular2/src/core/compiler/view_manager';
|
||||
import {ElementRef} from './element_ref';
|
||||
import {ViewRef} from './view_ref';
|
||||
|
||||
/**
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
export class ComponentRef {
|
||||
constructor(public location: ElementRef, public instance: any, public dispose: Function) {}
|
||||
|
||||
@ -18,8 +15,6 @@ export class ComponentRef {
|
||||
/**
|
||||
* Service for dynamically loading a Component into an arbitrary position in the internal Angular
|
||||
* application tree.
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
@Injectable()
|
||||
export class DynamicComponentLoader {
|
||||
|
@ -9,8 +9,6 @@ import {RenderViewRef, RenderElementRef, Renderer} from 'angular2/src/render/api
|
||||
* a Browser, but may represent other types on other rendering platforms. In the browser the
|
||||
* `ElementRef` can be sent to the web-worker. Web Workers can not have references to the
|
||||
* DOM Elements.
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
export class ElementRef implements RenderElementRef {
|
||||
/**
|
||||
|
@ -72,8 +72,6 @@ import {BaseQueryList} from './base_query_list';
|
||||
* title:string;
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
export class QueryList<T> extends BaseQueryList<T> {
|
||||
/**
|
||||
|
@ -7,9 +7,7 @@ import * as viewModule from './view';
|
||||
|
||||
import {ElementRef} from './element_ref';
|
||||
import {ViewRef, ProtoViewRef, internalView} from './view_ref';
|
||||
/**
|
||||
* @exportedAs angular2/core
|
||||
*/
|
||||
|
||||
export class ViewContainerRef {
|
||||
constructor(public viewManager: avmModule.AppViewManager, public element: ElementRef) {}
|
||||
|
||||
|
@ -62,8 +62,6 @@ export function internalProtoView(protoViewRef: ProtoViewRef): viewModule.AppPro
|
||||
* </ul>
|
||||
* <!-- /ViewRef: outter-0 -->
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
export class ViewRef {
|
||||
constructor(public _view: viewModule.AppView) {}
|
||||
@ -116,8 +114,6 @@ export class ViewRef {
|
||||
* ```
|
||||
*
|
||||
* Notice that the original template is broken down into two separate {@link ProtoViewRef}s.
|
||||
*
|
||||
* @exportedAs angular2/view
|
||||
*/
|
||||
export class ProtoViewRef {
|
||||
/**
|
||||
|
@ -30,8 +30,6 @@ import {DOM} from 'angular2/src/dom/dom_adapter';
|
||||
* }
|
||||
*
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/core
|
||||
*/
|
||||
@Injectable()
|
||||
export class ExceptionHandler {
|
||||
|
@ -29,7 +29,6 @@ import {isPresent, BaseException} from 'angular2/src/facade/lang';
|
||||
* lifecycle.tick();
|
||||
* });
|
||||
* ```
|
||||
* @exportedAs angular2/change_detection
|
||||
*/
|
||||
@Injectable()
|
||||
export class LifeCycle {
|
||||
|
@ -11,8 +11,6 @@ export interface NgZoneZone extends Zone { _innerZone: boolean; }
|
||||
*
|
||||
* A typical application will create a singleton `NgZone`. The outer `Zone` is a fork of the root
|
||||
* `Zone`. The default `onTurnDone` runs the Angular change detection.
|
||||
*
|
||||
* @exportedAs angular2/core
|
||||
*/
|
||||
export class NgZone {
|
||||
// Code executed in _mountZone does not trigger the onTurnDone.
|
||||
|
Reference in New Issue
Block a user