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

@ -8,17 +8,8 @@ import {
windowProfileEnd
} from 'angular2/src/testing/benchmark_util';
import {bootstrap} from 'angular2/bootstrap';
import {
Component,
Directive,
View,
bind,
provide,
NgFor,
NgSwitch,
NgSwitchWhen,
NgSwitchDefault
} from 'angular2/core';
import {Component, Directive, View, bind, provide} from 'angular2/core';
import {NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/common';
import {ApplicationRef} from 'angular2/src/core/application_ref';
import {BrowserDomAdapter} from 'angular2/src/platform/browser/browser_adapter';
import {APP_VIEW_POOL_CAPACITY} from 'angular2/src/core/linker/view_pool';