refactor(common): remove COMMON_DIRECTIVES, COMMON_PIPES, CORE_DIRECTIVES that were replace with CommonModule

This commit is contained in:
Igor Minar 2016-08-23 13:41:42 -07:00 committed by Victor Berchet
parent 6ef7a76e39
commit 6335b31702
6 changed files with 2 additions and 14 deletions

View File

@ -8,7 +8,6 @@
export * from './src/pipes';
export * from './src/directives';
export * from './src/common_directives';
export * from './src/location';
export {NgLocalization} from './src/localization';
export {CommonModule} from './src/common_module';

View File

@ -8,7 +8,7 @@
import {Provider} from '@angular/core';
import {CORE_DIRECTIVES} from './directives';
import {CORE_DIRECTIVES} from './directives/core_directives';
/**

View File

@ -10,7 +10,7 @@ import {NgModule} from '@angular/core';
import {COMMON_DIRECTIVES} from './common_directives';
import {NgLocaleLocalization, NgLocalization} from './localization';
import {COMMON_PIPES} from './pipes';
import {COMMON_PIPES} from './pipes/common_pipes';
// Note: This does not contain the location providers,
// as they need some platform specific implementations to work.

View File

@ -11,7 +11,6 @@
* @description
* Common directives shipped with Angular.
*/
export {CORE_DIRECTIVES} from './directives/core_directives';
export {NgClass} from './directives/ng_class';
export {NgFor} from './directives/ng_for';
export {NgIf} from './directives/ng_if';

View File

@ -13,7 +13,6 @@
*/
export {AsyncPipe} from './pipes/async_pipe';
export {COMMON_PIPES} from './pipes/common_pipes';
export {DatePipe} from './pipes/date_pipe';
export {I18nPluralPipe} from './pipes/i18n_plural_pipe';
export {I18nSelectPipe} from './pipes/i18n_select_pipe';

View File

@ -8,19 +8,10 @@ export declare class AsyncPipe implements OnDestroy {
transform(obj: Observable<any> | Promise<any> | EventEmitter<any>): any;
}
/** @experimental */
export declare const COMMON_DIRECTIVES: Provider[];
/** @experimental */
export declare const COMMON_PIPES: (typeof AsyncPipe | typeof SlicePipe | typeof I18nPluralPipe | typeof I18nSelectPipe)[];
/** @experimental */
export declare class CommonModule {
}
/** @stable */
export declare const CORE_DIRECTIVES: Type<any>[];
/** @experimental */
export declare class CurrencyPipe implements PipeTransform {
transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string;