From 2e4a2a0e5a2fb5b5c531f16db88d00423ea582fc Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sat, 11 Jul 2015 07:21:21 +0100 Subject: [PATCH] chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags --- DEVELOPER.md | 4 +-- docs/docs-package/index.js | 2 -- docs/docs-package/tag-defs/exportedAs.js | 4 --- docs/docs-package/tag-defs/public.js | 4 --- docs/typescript-definition-package/index.js | 2 -- .../tag-defs/exportedAs.js | 4 --- .../tag-defs/public.js | 4 --- modules/angular2/annotations.ts | 1 - modules/angular2/change_detection.ts | 1 - modules/angular2/core.ts | 1 - modules/angular2/di.ts | 1 - modules/angular2/di_errors.ts | 1 - modules/angular2/di_metadata.ts | 1 - modules/angular2/directives.ts | 1 - modules/angular2/forms.ts | 1 - modules/angular2/http.ts | 1 - modules/angular2/pipes.ts | 1 - modules/angular2/render.ts | 1 - modules/angular2/router.ts | 1 - .../src/change_detection/change_detection.ts | 28 ------------------- .../change_detection/change_detector_ref.ts | 2 -- .../src/change_detection/interfaces.ts | 1 - .../src/change_detection/pipes/date_pipe.ts | 2 -- .../pipes/iterable_changes.ts | 6 ---- .../src/change_detection/pipes/json_pipe.ts | 2 -- .../pipes/keyvalue_changes.ts | 10 ------- .../change_detection/pipes/limit_to_pipe.ts | 5 ---- .../change_detection/pipes/lowercase_pipe.ts | 5 ---- .../src/change_detection/pipes/null_pipe.ts | 6 ---- .../src/change_detection/pipes/number_pipe.ts | 6 ---- .../change_detection/pipes/observable_pipe.ts | 4 --- .../src/change_detection/pipes/pipe.ts | 4 --- .../change_detection/pipes/promise_pipe.ts | 4 --- .../change_detection/pipes/uppercase_pipe.ts | 5 ---- .../src/core/annotations_impl/annotations.ts | 9 ------ .../angular2/src/core/annotations_impl/di.ts | 4 --- .../src/core/annotations_impl/view.ts | 2 -- modules/angular2/src/core/application.ts | 2 -- .../src/core/compiler/base_query_list.ts | 2 -- .../angular2/src/core/compiler/compiler.ts | 2 -- .../core/compiler/dynamic_component_loader.ts | 5 ---- .../angular2/src/core/compiler/element_ref.ts | 2 -- .../angular2/src/core/compiler/query_list.ts | 2 -- .../src/core/compiler/view_container_ref.ts | 4 +-- .../angular2/src/core/compiler/view_ref.ts | 4 --- .../angular2/src/core/exception_handler.ts | 2 -- .../src/core/life_cycle/life_cycle.ts | 1 - modules/angular2/src/core/zone/ng_zone.ts | 2 -- modules/angular2/src/debug/debug_element.ts | 8 ------ modules/angular2/src/di/binding.ts | 8 ------ modules/angular2/src/di/exceptions.ts | 16 ----------- modules/angular2/src/di/forward_ref.dart | 2 -- modules/angular2/src/di/forward_ref.ts | 4 --- modules/angular2/src/di/injector.ts | 2 -- modules/angular2/src/di/key.ts | 2 -- modules/angular2/src/di/metadata.ts | 17 ----------- modules/angular2/src/di/opaque_token.ts | 6 ---- modules/angular2/src/directives/class.ts | 2 -- modules/angular2/src/directives/ng_for.ts | 2 -- modules/angular2/src/directives/ng_if.ts | 2 -- .../src/directives/ng_non_bindable.ts | 2 -- modules/angular2/src/directives/ng_style.ts | 2 -- modules/angular2/src/directives/ng_switch.ts | 6 ---- modules/angular2/src/forms/directives.ts | 2 -- .../directives/checkbox_value_accessor.ts | 2 -- .../directives/default_value_accessor.ts | 2 -- .../src/forms/directives/ng_control.ts | 2 -- .../src/forms/directives/ng_control_group.ts | 2 -- .../src/forms/directives/ng_control_name.ts | 2 -- .../angular2/src/forms/directives/ng_form.ts | 2 -- .../src/forms/directives/ng_form_control.ts | 2 -- .../src/forms/directives/ng_form_model.ts | 2 -- .../angular2/src/forms/directives/ng_model.ts | 2 -- .../select_control_value_accessor.ts | 3 -- modules/angular2/src/forms/form_builder.ts | 1 - modules/angular2/src/forms/model.ts | 16 ++--------- modules/angular2/src/forms/validators.ts | 2 -- modules/angular2/src/router/router.ts | 2 -- modules/angular2/src/router/router_link.ts | 2 -- .../src/test_lib/test_component_builder.ts | 5 ---- .../angular2/src/test_lib/test_injector.ts | 1 - modules/angular2/test.ts | 1 - modules/angular2/view.ts | 1 - 83 files changed, 5 insertions(+), 299 deletions(-) delete mode 100644 docs/docs-package/tag-defs/exportedAs.js delete mode 100644 docs/docs-package/tag-defs/public.js delete mode 100644 docs/typescript-definition-package/tag-defs/exportedAs.js delete mode 100644 docs/typescript-definition-package/tag-defs/public.js diff --git a/DEVELOPER.md b/DEVELOPER.md index 4f042909e4..8f45b8a97c 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -134,10 +134,10 @@ You can selectively build either the JS or Dart versions as follows: * `$(npm bin)/gulp build.js` * `$(npm bin)/gulp build.dart` -Also note that in order for the whole test suite to succeed you will need to generate the docs by running: +Also note that in order for the whole test suite to succeed you will need to generate the type definitions by running: ```shell -$(npm bin)/gulp docs +$(npm bin)/gulp docs/typings ``` To clean out the `dist` folder, run: diff --git a/docs/docs-package/index.js b/docs/docs-package/index.js index 4771f79f3a..63e5351877 100644 --- a/docs/docs-package/index.js +++ b/docs/docs-package/index.js @@ -48,9 +48,7 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage, .config(function(parseTagsProcessor, getInjectables) { - parseTagsProcessor.tagDefinitions.push(require('./tag-defs/public')); parseTagsProcessor.tagDefinitions.push(require('./tag-defs/private')); - parseTagsProcessor.tagDefinitions.push(require('./tag-defs/exportedAs')); // We actually don't want to parse param docs in this package as we are getting the data out using TS parseTagsProcessor.tagDefinitions.forEach(function(tagDef) { diff --git a/docs/docs-package/tag-defs/exportedAs.js b/docs/docs-package/tag-defs/exportedAs.js deleted file mode 100644 index aa36151697..0000000000 --- a/docs/docs-package/tag-defs/exportedAs.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - name: 'exportedAs', - multi: true -}; \ No newline at end of file diff --git a/docs/docs-package/tag-defs/public.js b/docs/docs-package/tag-defs/public.js deleted file mode 100644 index a85d5dd43c..0000000000 --- a/docs/docs-package/tag-defs/public.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - name: 'public', - transforms: function(doc, tag) { return true; } -}; \ No newline at end of file diff --git a/docs/typescript-definition-package/index.js b/docs/typescript-definition-package/index.js index b46ffa3993..4182c8569b 100644 --- a/docs/typescript-definition-package/index.js +++ b/docs/typescript-definition-package/index.js @@ -46,9 +46,7 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage, .config(function(parseTagsProcessor, getInjectables) { - parseTagsProcessor.tagDefinitions.push(require('./tag-defs/public')); parseTagsProcessor.tagDefinitions.push(require('./tag-defs/private')); - parseTagsProcessor.tagDefinitions.push(require('./tag-defs/exportedAs')); // We actually don't want to parse param docs in this package as we are getting the data out using TS parseTagsProcessor.tagDefinitions.forEach(function(tagDef) { diff --git a/docs/typescript-definition-package/tag-defs/exportedAs.js b/docs/typescript-definition-package/tag-defs/exportedAs.js deleted file mode 100644 index aa36151697..0000000000 --- a/docs/typescript-definition-package/tag-defs/exportedAs.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - name: 'exportedAs', - multi: true -}; \ No newline at end of file diff --git a/docs/typescript-definition-package/tag-defs/public.js b/docs/typescript-definition-package/tag-defs/public.js deleted file mode 100644 index a85d5dd43c..0000000000 --- a/docs/typescript-definition-package/tag-defs/public.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - name: 'public', - transforms: function(doc, tag) { return true; } -}; \ No newline at end of file diff --git a/modules/angular2/annotations.ts b/modules/angular2/annotations.ts index fab6758bfc..aa742d019a 100644 --- a/modules/angular2/annotations.ts +++ b/modules/angular2/annotations.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * * Annotations provide the additional information that Angular requires in order to run your diff --git a/modules/angular2/change_detection.ts b/modules/angular2/change_detection.ts index c28b5fcdbb..7631ccaea7 100644 --- a/modules/angular2/change_detection.ts +++ b/modules/angular2/change_detection.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * Change detection enables data binding in Angular. */ diff --git a/modules/angular2/core.ts b/modules/angular2/core.ts index 17a65dc3b8..01fd94aabf 100644 --- a/modules/angular2/core.ts +++ b/modules/angular2/core.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * Define angular core API here. */ diff --git a/modules/angular2/di.ts b/modules/angular2/di.ts index 3815136c9b..da85b8ddf3 100644 --- a/modules/angular2/di.ts +++ b/modules/angular2/di.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * The `di` module provides dependency injection container services. */ diff --git a/modules/angular2/di_errors.ts b/modules/angular2/di_errors.ts index 589f7b7f47..cdcc57c8e4 100644 --- a/modules/angular2/di_errors.ts +++ b/modules/angular2/di_errors.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * Errors thrown by the {@link Injector}. */ diff --git a/modules/angular2/di_metadata.ts b/modules/angular2/di_metadata.ts index 5669307be5..2d124e9603 100644 --- a/modules/angular2/di_metadata.ts +++ b/modules/angular2/di_metadata.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * Metadata which control how the dependencies are resolved by the {@link Injector}. */ diff --git a/modules/angular2/directives.ts b/modules/angular2/directives.ts index dd5088730e..4a482ac9bc 100644 --- a/modules/angular2/directives.ts +++ b/modules/angular2/directives.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * Common directives shipped with Angular. */ diff --git a/modules/angular2/forms.ts b/modules/angular2/forms.ts index 0371fb73cc..230eea6801 100644 --- a/modules/angular2/forms.ts +++ b/modules/angular2/forms.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * This module is used for handling user input, by defining and building a {@link ControlGroup} that * consists of diff --git a/modules/angular2/http.ts b/modules/angular2/http.ts index 58b41e3436..2e711aba46 100644 --- a/modules/angular2/http.ts +++ b/modules/angular2/http.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * The http module provides services to perform http requests. To get started, see the {@link Http} * class. diff --git a/modules/angular2/pipes.ts b/modules/angular2/pipes.ts index d7ea745679..89ef0dc5a5 100644 --- a/modules/angular2/pipes.ts +++ b/modules/angular2/pipes.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * This module provides advanced support for extending change detection. */ diff --git a/modules/angular2/render.ts b/modules/angular2/render.ts index 22f1de953a..1737f2bf8a 100644 --- a/modules/angular2/render.ts +++ b/modules/angular2/render.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * This module provides advanced support for extending dom strategy. */ diff --git a/modules/angular2/router.ts b/modules/angular2/router.ts index fecc2a7f34..aa9bb6d4ff 100644 --- a/modules/angular2/router.ts +++ b/modules/angular2/router.ts @@ -1,6 +1,5 @@ /** * @module - * @public * @description * Maps application URLs into application states, to support deep-linking and navigation. */ diff --git a/modules/angular2/src/change_detection/change_detection.ts b/modules/angular2/src/change_detection/change_detection.ts index 68667aa790..098283594b 100644 --- a/modules/angular2/src/change_detection/change_detection.ts +++ b/modules/angular2/src/change_detection/change_detection.ts @@ -21,24 +21,18 @@ import {CONST, CONST_EXPR, isPresent, BaseException} from 'angular2/src/facade/l /** * Structural diffing for `Object`s and `Map`s. - * - * @exportedAs angular2/pipes */ export const keyValDiff: List = CONST_EXPR([CONST_EXPR(new KeyValueChangesFactory()), CONST_EXPR(new NullPipeFactory())]); /** * Structural diffing for `Iterable` types such as `Array`s. - * - * @exportedAs angular2/pipes */ export const iterableDiff: List = CONST_EXPR([CONST_EXPR(new IterableChangesFactory()), CONST_EXPR(new NullPipeFactory())]); /** * Async binding to such types as Observable. - * - * @exportedAs angular2/pipes */ export const async: List = CONST_EXPR([ CONST_EXPR(new ObservablePipeFactory()), @@ -48,64 +42,48 @@ export const async: List = CONST_EXPR([ /** * Uppercase text transform. - * - * @exportedAs angular2/pipes */ export const uppercase: List = CONST_EXPR([CONST_EXPR(new UpperCaseFactory()), CONST_EXPR(new NullPipeFactory())]); /** * Lowercase text transform. - * - * @exportedAs angular2/pipes */ export const lowercase: List = CONST_EXPR([CONST_EXPR(new LowerCaseFactory()), CONST_EXPR(new NullPipeFactory())]); /** * Json stringify transform. - * - * @exportedAs angular2/pipes */ export const json: List = CONST_EXPR([CONST_EXPR(new JsonPipe()), CONST_EXPR(new NullPipeFactory())]); /** * LimitTo text transform. - * - * @exportedAs angular2/pipes */ export const limitTo: List = CONST_EXPR([CONST_EXPR(new LimitToPipeFactory()), CONST_EXPR(new NullPipeFactory())]); /** * Number number transform. - * - * @exportedAs angular2/pipes */ export const decimal: List = CONST_EXPR([CONST_EXPR(new DecimalPipe()), CONST_EXPR(new NullPipeFactory())]); /** * Percent number transform. - * - * @exportedAs angular2/pipes */ export const percent: List = CONST_EXPR([CONST_EXPR(new PercentPipe()), CONST_EXPR(new NullPipeFactory())]); /** * Currency number transform. - * - * @exportedAs angular2/pipes */ export const currency: List = CONST_EXPR([CONST_EXPR(new CurrencyPipe()), CONST_EXPR(new NullPipeFactory())]); /** * Date/time formatter. - * - * @exportedAs angular2/pipes */ export const date: List = CONST_EXPR([CONST_EXPR(new DatePipe()), CONST_EXPR(new NullPipeFactory())]); @@ -138,8 +116,6 @@ export const PROTO_CHANGE_DETECTOR_KEY = CONST_EXPR(new OpaqueToken('ProtoChange /** * Implements change detection using a map of pregenerated proto detectors. - * - * @exportedAs angular2/change_detection */ @Injectable() export class PreGeneratedChangeDetection extends ChangeDetection { @@ -171,8 +147,6 @@ export class PreGeneratedChangeDetection extends ChangeDetection { * Implements change detection that does not require `eval()`. * * This is slower than {@link JitChangeDetection}. - * - * @exportedAs angular2/change_detection */ @Injectable() export class DynamicChangeDetection extends ChangeDetection { @@ -186,8 +160,6 @@ export class DynamicChangeDetection extends ChangeDetection { * * This requires `eval()`. For change detection that does not require `eval()`, see * {@link DynamicChangeDetection} and {@link PreGeneratedChangeDetection}. - * - * @exportedAs angular2/change_detection */ @Injectable() @CONST() diff --git a/modules/angular2/src/change_detection/change_detector_ref.ts b/modules/angular2/src/change_detection/change_detector_ref.ts index bd6262eb65..5b7a9cd5e4 100644 --- a/modules/angular2/src/change_detection/change_detector_ref.ts +++ b/modules/angular2/src/change_detection/change_detector_ref.ts @@ -7,8 +7,6 @@ import {CHECK_ONCE, DETACHED, CHECK_ALWAYS} from './constants'; * {@link ChangeDetectorRef} allows requesting checks for detectors that rely on observables. It *also allows detaching and * attaching change detector subtrees. - * - * @exportedAs angular2/change_detection */ export class ChangeDetectorRef { constructor(private _cd: ChangeDetector) {} diff --git a/modules/angular2/src/change_detection/interfaces.ts b/modules/angular2/src/change_detection/interfaces.ts index dbc2085cdd..d81c382c07 100644 --- a/modules/angular2/src/change_detection/interfaces.ts +++ b/modules/angular2/src/change_detection/interfaces.ts @@ -28,7 +28,6 @@ import {DirectiveRecord} from './directive_record'; * ```javascript * bootstrap(MyApp, [bind(ChangeDetection).toClass(DynamicChangeDetection)]); * ``` - * @exportedAs angular2/change_detection */ @CONST() export class ChangeDetection { diff --git a/modules/angular2/src/change_detection/pipes/date_pipe.ts b/modules/angular2/src/change_detection/pipes/date_pipe.ts index 9984337a44..8a88af36db 100644 --- a/modules/angular2/src/change_detection/pipes/date_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/date_pipe.ts @@ -68,8 +68,6 @@ var defaultLocale: string = 'en-US'; * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM' * {{ dateObj | date:'shortTime' }} // output is '9:43 PM' * {{ dateObj | date:'mmss' }} // output is '43:11' - * - * @exportedAs angular2/pipes */ @CONST() export class DatePipe extends BasePipe implements PipeFactory { diff --git a/modules/angular2/src/change_detection/pipes/iterable_changes.ts b/modules/angular2/src/change_detection/pipes/iterable_changes.ts index 9a7e8bfc5d..9ae2353994 100644 --- a/modules/angular2/src/change_detection/pipes/iterable_changes.ts +++ b/modules/angular2/src/change_detection/pipes/iterable_changes.ts @@ -25,9 +25,6 @@ export class IterableChangesFactory implements PipeFactory { create(cdRef: ChangeDetectorRef): Pipe { return new IterableChanges(); } } -/** - * @exportedAs angular2/pipes - */ export class IterableChanges extends BasePipe { private _collection = null; private _length: int = null; @@ -475,9 +472,6 @@ export class IterableChanges extends BasePipe { } } -/** - * @exportedAs angular2/pipes - */ export class CollectionChangeRecord { currentIndex: int = null; previousIndex: int = null; diff --git a/modules/angular2/src/change_detection/pipes/json_pipe.ts b/modules/angular2/src/change_detection/pipes/json_pipe.ts index de5b8533b4..ef158e39bb 100644 --- a/modules/angular2/src/change_detection/pipes/json_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/json_pipe.ts @@ -24,8 +24,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; * } * * ``` - * - * @exportedAs angular2/pipes */ @CONST() export class JsonPipe extends BasePipe implements PipeFactory { diff --git a/modules/angular2/src/change_detection/pipes/keyvalue_changes.ts b/modules/angular2/src/change_detection/pipes/keyvalue_changes.ts index 16be78b276..0c527cb77f 100644 --- a/modules/angular2/src/change_detection/pipes/keyvalue_changes.ts +++ b/modules/angular2/src/change_detection/pipes/keyvalue_changes.ts @@ -3,9 +3,6 @@ import {stringify, looseIdentical, isJsObject, CONST} from 'angular2/src/facade/ import {ChangeDetectorRef} from '../change_detector_ref'; import {WrappedValue, BasePipe, Pipe, PipeFactory} from './pipe'; -/** - * @exportedAs angular2/pipes - */ @CONST() export class KeyValueChangesFactory implements PipeFactory { supports(obj): boolean { return KeyValueChanges.supportsObj(obj); } @@ -13,9 +10,6 @@ export class KeyValueChangesFactory implements PipeFactory { create(cdRef: ChangeDetectorRef): Pipe { return new KeyValueChanges(); } } -/** - * @exportedAs angular2/pipes - */ export class KeyValueChanges extends BasePipe { private _records: Map = new Map(); private _mapHead: KVChangeRecord = null; @@ -327,10 +321,6 @@ export class KeyValueChanges extends BasePipe { } - -/** - * @exportedAs angular2/pipes - */ export class KVChangeRecord { previousValue: any = null; currentValue: any = null; diff --git a/modules/angular2/src/change_detection/pipes/limit_to_pipe.ts b/modules/angular2/src/change_detection/pipes/limit_to_pipe.ts index f79e95047f..de40bc800a 100644 --- a/modules/angular2/src/change_detection/pipes/limit_to_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/limit_to_pipe.ts @@ -49,8 +49,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; * {{ 'abcdefghij' | limitTo: 4 }} // output is 'abcd' * {{ 'abcdefghij' | limitTo: -4 }} // output is 'ghij' * {{ 'abcdefghij' | limitTo: -100 }} // output is 'abcdefghij' - * - * @exportedAs angular2/pipes */ export class LimitToPipe implements Pipe { static supportsObj(obj): boolean { return isString(obj) || isArray(obj); } @@ -76,9 +74,6 @@ export class LimitToPipe implements Pipe { onDestroy(): void {} } -/** - * @exportedAs angular2/pipes - */ @CONST() export class LimitToPipeFactory implements PipeFactory { supports(obj): boolean { return LimitToPipe.supportsObj(obj); } diff --git a/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts b/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts index 7684e4d4e6..21abbcbde8 100644 --- a/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts @@ -21,8 +21,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; * } * * ``` - * - * @exportedAs angular2/pipes */ export class LowerCasePipe implements Pipe { _latestValue: string = null; @@ -41,9 +39,6 @@ export class LowerCasePipe implements Pipe { } } -/** - * @exportedAs angular2/pipes - */ @CONST() export class LowerCaseFactory implements PipeFactory { supports(str): boolean { return isString(str); } diff --git a/modules/angular2/src/change_detection/pipes/null_pipe.ts b/modules/angular2/src/change_detection/pipes/null_pipe.ts index c14a711fec..33a72e5c97 100644 --- a/modules/angular2/src/change_detection/pipes/null_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/null_pipe.ts @@ -2,9 +2,6 @@ import {isBlank, CONST} from 'angular2/src/facade/lang'; import {Pipe, BasePipe, WrappedValue, PipeFactory} from './pipe'; import {ChangeDetectorRef} from '../change_detector_ref'; -/** - * @exportedAs angular2/pipes - */ @CONST() export class NullPipeFactory implements PipeFactory { supports(obj): boolean { return NullPipe.supportsObj(obj); } @@ -12,9 +9,6 @@ export class NullPipeFactory implements PipeFactory { create(cdRef: ChangeDetectorRef): Pipe { return new NullPipe(); } } -/** - * @exportedAs angular2/pipes - */ export class NullPipe extends BasePipe { called: boolean = false; diff --git a/modules/angular2/src/change_detection/pipes/number_pipe.ts b/modules/angular2/src/change_detection/pipes/number_pipe.ts index cbbf70d839..38a08d4ec6 100644 --- a/modules/angular2/src/change_detection/pipes/number_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/number_pipe.ts @@ -75,8 +75,6 @@ export class NumberPipe extends BasePipe implements PipeFactory { * {{ 123 | number }} // output is 123 * {{ 123.1 | number: '.2-3' }} // output is 123.10 * {{ 1 | number: '2.2' }} // output is 01.00 - * - * @exportedAs angular2/pipes */ @CONST() export class DecimalPipe extends NumberPipe { @@ -94,8 +92,6 @@ export class DecimalPipe extends NumberPipe { * expression | percent[:digitInfo] * * For more information about `digitInfo` see {@link DecimalPipe} - * - * @exportedAs angular2/pipes */ @CONST() export class PercentPipe extends NumberPipe { @@ -117,8 +113,6 @@ export class PercentPipe extends NumberPipe { * symbol (e.g. $) or the currency code (e.g. USD) in the output. The default for this value * is `false`. * For more information about `digitInfo` see {@link DecimalPipe} - * - * @exportedAs angular2/pipes */ @CONST() export class CurrencyPipe extends NumberPipe { diff --git a/modules/angular2/src/change_detection/pipes/observable_pipe.ts b/modules/angular2/src/change_detection/pipes/observable_pipe.ts index fb14b84b80..0c03d09ed8 100644 --- a/modules/angular2/src/change_detection/pipes/observable_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/observable_pipe.ts @@ -26,8 +26,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; * } * * ``` - * - * @exportedAs angular2/pipes */ export class ObservablePipe implements Pipe { _latestValue: Object = null; @@ -87,8 +85,6 @@ export class ObservablePipe implements Pipe { /** * Provides a factory for [ObervablePipe]. - * - * @exportedAs angular2/pipes */ @CONST() export class ObservablePipeFactory implements PipeFactory { diff --git a/modules/angular2/src/change_detection/pipes/pipe.ts b/modules/angular2/src/change_detection/pipes/pipe.ts index 203947bd27..bdb9388198 100644 --- a/modules/angular2/src/change_detection/pipes/pipe.ts +++ b/modules/angular2/src/change_detection/pipes/pipe.ts @@ -6,8 +6,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; *has not changed. * * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored. - * - * @exportedAs angular2/pipes */ export class WrappedValue { constructor(public wrapped: any) {} @@ -49,8 +47,6 @@ var _wrappedIndex = 0; * } * } * ``` - * - * @exportedAs angular2/pipes */ export interface Pipe { supports(obj): boolean; diff --git a/modules/angular2/src/change_detection/pipes/promise_pipe.ts b/modules/angular2/src/change_detection/pipes/promise_pipe.ts index 9c35e771ba..d27557e044 100644 --- a/modules/angular2/src/change_detection/pipes/promise_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/promise_pipe.ts @@ -25,8 +25,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; * } * * ``` - * - * @exportedAs angular2/pipes */ export class PromisePipe implements Pipe { _latestValue: Object = null; @@ -77,8 +75,6 @@ export class PromisePipe implements Pipe { /** * Provides a factory for [PromisePipe]. - * - * @exportedAs angular2/pipes */ @CONST() export class PromisePipeFactory implements PipeFactory { diff --git a/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts b/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts index ba9883ae4e..d238a08db8 100644 --- a/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts @@ -21,8 +21,6 @@ import {ChangeDetectorRef} from '../change_detector_ref'; * } * * ``` - * - * @exportedAs angular2/pipes */ export class UpperCasePipe implements Pipe { _latestValue: string = null; @@ -41,9 +39,6 @@ export class UpperCasePipe implements Pipe { } } -/** - * @exportedAs angular2/pipes - */ @CONST() export class UpperCaseFactory implements PipeFactory { supports(str): boolean { return isString(str); } diff --git a/modules/angular2/src/core/annotations_impl/annotations.ts b/modules/angular2/src/core/annotations_impl/annotations.ts index 80489447f6..26dc28a0cd 100644 --- a/modules/angular2/src/core/annotations_impl/annotations.ts +++ b/modules/angular2/src/core/annotations_impl/annotations.ts @@ -403,8 +403,6 @@ import {DEFAULT} from 'angular2/change_detection'; * Note also that although the `
  • ` template still exists inside the ``, * the instantiated * view occurs on the second `
  • ` which is a sibling to the `