refactor(common): unify export structure

This commit is contained in:
Victor Berchet 2016-12-05 12:03:35 -08:00 committed by Alex Rickabaugh
parent f31c9470fa
commit 66b6fc010d
3 changed files with 7 additions and 19 deletions

View File

@ -11,12 +11,13 @@
* @description * @description
* Entry point for all public APIs of the common package. * Entry point for all public APIs of the common package.
*/ */
export * from './src/location'; export * from './src/location/index';
export {NgLocalization} from './src/localization'; export {NgLocalization} from './src/localization';
export {CommonModule} from './src/common_module'; export {CommonModule} from './src/common_module';
export {NgClass, NgFor, NgIf, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet} from './src/directives/index'; export {NgClass, NgFor, NgIf, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet} from './src/directives/index';
export {AsyncPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, SlicePipe, UpperCasePipe} from './src/pipes/index'; export {AsyncPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, SlicePipe, UpperCasePipe} from './src/pipes/index';
import {Version} from '@angular/core'; import {Version} from '@angular/core';
/** /**
* @stable * @stable
*/ */

View File

@ -1,13 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export * from './location/platform_location';
export * from './location/location_strategy';
export * from './location/hash_location_strategy';
export * from './location/path_location_strategy';
export * from './location/location';

View File

@ -6,8 +6,8 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
/** export * from './platform_location';
* @module export * from './location_strategy';
* @description export * from './hash_location_strategy';
* This module provides a set of common Pipes. export * from './path_location_strategy';
*/ export * from './location';