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 { import {
bind,
provide, provide,
AppViewManager, AppViewManager,
ChangeDetectorRef, ChangeDetectorRef,
@ -8,7 +7,7 @@ import {
OnChanges, OnChanges,
ProtoViewRef, ProtoViewRef,
SimpleChange SimpleChange
} from 'angular2/angular2'; } from 'angular2/core';
import {NG1_SCOPE} from './constants'; import {NG1_SCOPE} from './constants';
import {ComponentInfo} from './metadata'; import {ComponentInfo} from './metadata';
import Element = protractor.Element; 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'; import {stringify} from './util';
var COMPONENT_SELECTOR = /^[\w|-]*$/; var COMPONENT_SELECTOR = /^[\w|-]*$/;

View File

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

View File

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