style: remove empty comments (#23404)

PR Close #23404
This commit is contained in:
swseverance 2018-04-16 21:27:16 -04:00 committed by Igor Minar
parent 72eab4d254
commit fe3679a356
32 changed files with 12 additions and 99 deletions

View File

@ -38,8 +38,6 @@ export class MyCounterComponent implements OnChanges {
}
}
/***************************************/
@Component({
selector: 'counter-parent',
template: `

View File

@ -72,8 +72,6 @@ export class DoCheckComponent implements DoCheck {
}
}
/***************************************/
@Component({
selector: 'do-check-parent',
templateUrl: './do-check-parent.component.html',

View File

@ -46,8 +46,6 @@ export class OnChangesComponent implements OnChanges {
reset() { this.changeLog = []; }
}
/***************************************/
@Component({
selector: 'on-changes-parent',
templateUrl: './on-changes-parent.component.html',

View File

@ -30,7 +30,4 @@ export class Version {
}
}
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -42,9 +42,6 @@ function addBody<T>(
};
}
/**
*
*/
export type HttpObserve = 'body' | 'events' | 'response';
/**

View File

@ -8,9 +8,6 @@
import {ChangeDetectorRef, Directive, DoCheck, EmbeddedViewRef, Input, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDiffers, NgIterable, OnChanges, SimpleChanges, TemplateRef, TrackByFunction, ViewContainerRef, forwardRef, isDevMode} from '@angular/core';
/**
*
*/
export class NgForOfContext<T> {
constructor(
public $implicit: T, public ngForOf: NgIterable<T>, public index: number,

View File

@ -158,9 +158,6 @@ export class NgIf {
public static ngIfUseIfTypeGuard: void;
}
/**
*
*/
export class NgIfContext {
public $implicit: any = null;
public ngIf: any = null;

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/compiler';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from './util';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.io/license
*/
/**
*
*/
export abstract class ChangeDetectorRef {
/**
* Marks a view and all of its ancestors dirty.

View File

@ -557,9 +557,6 @@ export class DefaultIterableDiffer<V> implements IterableDiffer<V>, IterableChan
}
}
/**
*
*/
export class IterableChangeRecord_<V> implements IterableChangeRecord<V> {
currentIndex: number|null = null;
previousIndex: number|null = null;

View File

@ -259,10 +259,6 @@ export class DefaultKeyValueDiffer<K, V> implements KeyValueDiffer<K, V>, KeyVal
}
}
/**
*
*/
class KeyValueChangeRecord_<K, V> implements KeyValueChangeRecord<K, V> {
previousValue: V|null = null;
currentValue: V|null = null;

View File

@ -64,9 +64,6 @@ export abstract class ComponentRef<C> {
abstract onDestroy(callback: Function): void;
}
/**
*
*/
export abstract class ComponentFactory<C> {
abstract get selector(): string;
abstract get componentType(): Type<any>;

View File

@ -33,9 +33,6 @@ class _NullComponentFactoryResolver implements ComponentFactoryResolver {
}
}
/**
*
*/
export abstract class ComponentFactoryResolver {
static NULL: ComponentFactoryResolver = new _NullComponentFactoryResolver();
abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>;

View File

@ -9,10 +9,6 @@
import {ApplicationRef} from '../application_ref';
import {ChangeDetectorRef} from '../change_detection/change_detector_ref';
/**
*
*/
export abstract class ViewRef extends ChangeDetectorRef {
/**
* Destroys the view and all of the data structures associated with it.

View File

@ -23,7 +23,4 @@ export class Version {
}
}
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -151,7 +151,6 @@ describe('injection', () => {
return new MyApp(
$r3$.ɵdirectiveInject(ServiceA), $r3$.ɵdirectiveInject(ServiceB), inject(INJECTOR));
},
/** */
template: function MyApp_Template(rf: $RenderFlags$, ctx: $MyApp$) {},
providers: [ServiceA],
viewProviders: [ServiceB],

View File

@ -166,14 +166,8 @@ export class EmailValidator implements Validator {
registerOnValidatorChange(fn: () => void): void { this._onChange = fn; }
}
/**
*
*/
export interface ValidatorFn { (c: AbstractControl): ValidationErrors|null; }
/**
*
*/
export interface AsyncValidatorFn {
(c: AbstractControl): Promise<ValidationErrors|null>|Observable<ValidationErrors|null>;
}

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -23,8 +23,5 @@ export {JitCompilerFactory} from './compiler_factory';
export const RESOURCE_CACHE_PROVIDER: Provider[] =
[{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];
/**
*
*/
export const platformBrowserDynamic = createPlatformFactory(
platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -16,9 +16,6 @@ import {platformCoreDynamicTesting} from './platform_core_dynamic_testing';
export * from './private_export_testing';
/**
*
*/
export const platformBrowserDynamicTesting = createPlatformFactory(
platformCoreDynamicTesting, 'browserDynamicTesting',
INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);

View File

@ -44,9 +44,6 @@ export const BROWSER_SANITIZATION_PROVIDERS: StaticProvider[] = [
{provide: DomSanitizer, useClass: DomSanitizerImpl, deps: [DOCUMENT]},
];
/**
*
*/
export const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef =
createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);

View File

@ -10,15 +10,9 @@ import {Inject, Injectable, InjectionToken, NgZone} from '@angular/core';
import {getDOM} from '../dom_adapter';
/**
*
*/
export const EVENT_MANAGER_PLUGINS =
new InjectionToken<EventManagerPlugin[]>('EventManagerPlugins');
/**
*
*/
@Injectable()
export class EventManager {
private _plugins: EventManagerPlugin[];

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');

View File

@ -13,7 +13,5 @@
*/
import {Version} from '@angular/core';
/**
*
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');