cleanup(core): stop reexporting angular2/common from angular2/core

All common directives, forms, and pipes have been moved out of angular2/core,
but we kept reexporting them to make transition easier.

This commit removes the reexports.

BREAKING CHANGE

Before

import {NgIf} from 'angular2/core';

After

import {NgIf} from 'angular2/common';

Closes #5362
This commit is contained in:
vsavkin
2015-11-18 15:55:43 -08:00
committed by Victor Savkin
parent 36a423fac8
commit 5ba9ced1ab
71 changed files with 185 additions and 222 deletions

View File

@ -5,10 +5,9 @@
*/
export * from './src/core/metadata';
export * from './src/core/util';
export * from './src/core/dev_mode';
export * from './src/core/di';
export * from './src/common/pipes';
export * from './src/facade/facade';
export * from './src/core/linker';
export {platform, createNgZone, PlatformRef, ApplicationRef} from './src/core/application_ref';
export {
APP_ID,
@ -18,8 +17,7 @@ export {
} from './src/core/application_tokens';
export * from './src/core/zone';
export * from './src/core/render';
export * from './src/common/directives';
export * from './src/common/forms';
export * from './src/core/linker';
export {
DebugElement,
Scope,
@ -29,8 +27,7 @@ export {
export * from './src/core/testability/testability';
export * from './src/core/change_detection';
export * from './src/core/platform_directives_and_pipes';
export * from './src/core/dev_mode';
export * from './src/core/reflection/reflection';
export * from './src/core/application_common_providers';
export * from './src/core/platform_common_providers';
export * from './src/core/application_common_providers';
export * from './src/core/reflection/reflection';
export * from './src/core/dom/dom_adapter';