refactor(upgrade): remove imports from angular2/angular2

Related #5739
This commit is contained in:
Pawel Kozlowski 2015-12-09 17:05:49 +01:00
parent d6d759d722
commit 793098bcce
4 changed files with 6 additions and 10 deletions

View File

@ -1,5 +1,4 @@
import {
bind,
provide,
AppViewManager,
ChangeDetectorRef,
@ -8,7 +7,7 @@ import {
OnChanges,
ProtoViewRef,
SimpleChange
} from 'angular2/angular2';
} from 'angular2/core';
import {NG1_SCOPE} from './constants';
import {ComponentInfo} from './metadata';
import Element = protractor.Element;

View File

@ -1,4 +1,4 @@
import {Type, ComponentMetadata, DirectiveResolver, DirectiveMetadata} from 'angular2/angular2';
import {Type, DirectiveResolver, DirectiveMetadata} from 'angular2/core';
import {stringify} from './util';
var COMPONENT_SELECTOR = /^[\w|-]*$/;

View File

@ -1,20 +1,17 @@
import {
bind,
provide,
platform,
ApplicationRef,
AppViewManager,
Compiler,
Inject,
Injector,
NgZone,
PlatformRef,
ProtoViewRef,
Provider,
Type
} from 'angular2/angular2';
import {APPLICATION_COMMON_PROVIDERS} from 'angular2/core';
import {COMPILER_PROVIDERS} from 'angular2/src/compiler/compiler';
Type,
APPLICATION_COMMON_PROVIDERS
} from 'angular2/core';
import {ObservableWrapper} from 'angular2/src/facade/async';
import {BROWSER_PROVIDERS, BROWSER_APP_PROVIDERS} from 'angular2/platform/browser';

View File

@ -7,7 +7,7 @@ import {
OnChanges,
SimpleChange,
Type
} from 'angular2/angular2';
} from 'angular2/core';
import {
NG1_COMPILE,
NG1_SCOPE,