diff --git a/modules/angular2/src/core/application_common.ts b/modules/angular2/src/core/application_common.ts index 6e8d811da7..2499e9ff43 100644 --- a/modules/angular2/src/core/application_common.ts +++ b/modules/angular2/src/core/application_common.ts @@ -1,18 +1,10 @@ import {FORM_PROVIDERS} from 'angular2/src/core/forms'; -import {provide, Provider, Injector, OpaqueToken} from 'angular2/src/core/di'; -import { - NumberWrapper, - Type, - isBlank, - isPresent, - assertionsEnabled, - print, - stringify -} from 'angular2/src/core/facade/lang'; +import {provide, Provider} from 'angular2/src/core/di'; +import {Type, isBlank, isPresent, stringify} from 'angular2/src/core/facade/lang'; import {BrowserDomAdapter} from 'angular2/src/core/dom/browser_adapter'; import {BrowserGetTestability} from 'angular2/src/core/testability/browser_testability'; import {DOM} from 'angular2/src/core/dom/dom_adapter'; -import {Promise, PromiseWrapper, PromiseCompleter} from 'angular2/src/core/facade/async'; +import {Promise} from 'angular2/src/core/facade/async'; import {XHR} from 'angular2/src/core/compiler/xhr'; import {XHRImpl} from 'angular2/src/core/compiler/xhr_impl'; @@ -23,11 +15,8 @@ import { } from 'angular2/src/core/render/dom/events/event_manager'; import {KeyEventsPlugin} from 'angular2/src/core/render/dom/events/key_events'; import {HammerGesturesPlugin} from 'angular2/src/core/render/dom/events/hammer_gestures'; -import { - ComponentRef, - DynamicComponentLoader -} from 'angular2/src/core/linker/dynamic_component_loader'; -import {TestabilityRegistry, Testability} from 'angular2/src/core/testability/testability'; +import {ComponentRef} from 'angular2/src/core/linker/dynamic_component_loader'; +import {Testability} from 'angular2/src/core/testability/testability'; import {Renderer} from 'angular2/src/core/render/api'; import {DomRenderer, DomRenderer_, DOCUMENT} from 'angular2/src/core/render/render'; import { diff --git a/modules/angular2/src/core/linker/view.ts b/modules/angular2/src/core/linker/view.ts index 4135daa04f..44c5058079 100644 --- a/modules/angular2/src/core/linker/view.ts +++ b/modules/angular2/src/core/linker/view.ts @@ -5,12 +5,9 @@ import { StringMapWrapper, } from 'angular2/src/core/facade/collection'; import { - AST, ChangeDetector, - ChangeDetectorRef, ChangeDispatcher, DirectiveIndex, - DirectiveRecord, BindingTarget, Locals, ProtoChangeDetector @@ -24,7 +21,7 @@ import { DirectiveProvider } from './element_injector'; import {ElementBinder} from './element_binder'; -import {isPresent, isBlank} from 'angular2/src/core/facade/lang'; +import {isPresent} from 'angular2/src/core/facade/lang'; import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions'; import * as renderApi from 'angular2/src/core/render/api'; import {RenderEventDispatcher} from 'angular2/src/core/render/api'; diff --git a/modules/angular2/src/core/linker/view_resolver.ts b/modules/angular2/src/core/linker/view_resolver.ts index de7c81c31e..ea7ced87ca 100644 --- a/modules/angular2/src/core/linker/view_resolver.ts +++ b/modules/angular2/src/core/linker/view_resolver.ts @@ -4,7 +4,7 @@ import {ComponentMetadata} from '../metadata/directives'; import {Type, stringify, isBlank, isPresent} from 'angular2/src/core/facade/lang'; import {BaseException} from 'angular2/src/core/facade/exceptions'; -import {Map, MapWrapper, ListWrapper} from 'angular2/src/core/facade/collection'; +import {Map} from 'angular2/src/core/facade/collection'; import {reflector} from 'angular2/src/core/reflection/reflection'; diff --git a/modules/angular2/src/core/reflection/reflection_capabilities.ts b/modules/angular2/src/core/reflection/reflection_capabilities.ts index 921d3ef235..9f12f22bde 100644 --- a/modules/angular2/src/core/reflection/reflection_capabilities.ts +++ b/modules/angular2/src/core/reflection/reflection_capabilities.ts @@ -6,7 +6,7 @@ import { stringify, ConcreteType } from 'angular2/src/core/facade/lang'; -import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions'; +import {BaseException} from 'angular2/src/core/facade/exceptions'; import {ListWrapper} from 'angular2/src/core/facade/collection'; import {GetterFn, SetterFn, MethodFn} from './types'; import {PlatformReflectionCapabilities} from './platform_reflection_capabilities';