chore(doc-gen): remove unnecessary @public and @exportedAs tags

This commit is contained in:
Peter Bacon Darwin
2015-07-11 07:21:21 +01:00
parent 9fa7d38133
commit 2e4a2a0e5a
83 changed files with 5 additions and 299 deletions

View File

@ -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"));

View File

@ -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 {

View File

@ -30,8 +30,6 @@ import {ABSTRACT, CONST, Type} from 'angular2/src/facade/lang';
* }
* }
* ```
*
* @exportedAs angular2/annotations
*/
@CONST()
export class View {

View File

@ -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,

View File

@ -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> = [];

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {
/**

View File

@ -72,8 +72,6 @@ import {BaseQueryList} from './base_query_list';
* title:string;
* }
* ```
*
* @exportedAs angular2/view
*/
export class QueryList<T> extends BaseQueryList<T> {
/**

View File

@ -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) {}

View File

@ -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 {
/**

View File

@ -30,8 +30,6 @@ import {DOM} from 'angular2/src/dom/dom_adapter';
* }
*
* ```
*
* @exportedAs angular2/core
*/
@Injectable()
export class ExceptionHandler {

View File

@ -29,7 +29,6 @@ import {isPresent, BaseException} from 'angular2/src/facade/lang';
* lifecycle.tick();
* });
* ```
* @exportedAs angular2/change_detection
*/
@Injectable()
export class LifeCycle {

View File

@ -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.