style(global): group multiple imports from same module
Closes #7802 Closes #8209
This commit is contained in:
@ -38,7 +38,6 @@ import {
|
||||
HostMetadata,
|
||||
SkipSelfMetadata
|
||||
} from 'angular2/src/core/di/metadata';
|
||||
import {AttributeMetadata} from 'angular2/src/core/metadata/di';
|
||||
import {ReflectorReader} from 'angular2/src/core/reflection/reflector_reader';
|
||||
|
||||
@Injectable()
|
||||
@ -208,7 +207,7 @@ export class RuntimeMetadataResolver {
|
||||
}
|
||||
return deps.map((dep) => {
|
||||
var compileToken;
|
||||
var p = <AttributeMetadata>dep.properties.find(p => p instanceof AttributeMetadata);
|
||||
var p = <dimd.AttributeMetadata>dep.properties.find(p => p instanceof dimd.AttributeMetadata);
|
||||
var isAttribute = false;
|
||||
if (isPresent(p)) {
|
||||
compileToken = this.getTokenMetadata(p.attributeName);
|
||||
|
@ -4,9 +4,15 @@ import {
|
||||
SetWrapper,
|
||||
MapWrapper
|
||||
} from 'angular2/src/facade/collection';
|
||||
import {RegExpWrapper, isPresent, StringWrapper, isBlank, isArray} from 'angular2/src/facade/lang';
|
||||
import {
|
||||
CONST_EXPR,
|
||||
RegExpWrapper,
|
||||
isPresent,
|
||||
StringWrapper,
|
||||
isBlank,
|
||||
isArray
|
||||
} from 'angular2/src/facade/lang';
|
||||
import {Injectable, Inject, OpaqueToken, Optional} from 'angular2/core';
|
||||
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||
import {
|
||||
AST,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {Injectable, Inject} from 'angular2/src/core/di';
|
||||
import {Provider, Injectable, Inject} from 'angular2/src/core/di';
|
||||
import {
|
||||
StringWrapper,
|
||||
isPresent,
|
||||
@ -9,7 +9,6 @@ import {
|
||||
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||
import {PACKAGE_ROOT_URL} from 'angular2/src/core/application_tokens';
|
||||
import {Provider} from 'angular2/src/core/di';
|
||||
|
||||
const _ASSET_SCHEME = 'asset:';
|
||||
|
||||
|
Reference in New Issue
Block a user