refactor(imports): simplify paths

This commit is contained in:
Victor Berchet 2016-05-31 15:22:59 -07:00
parent b00b9fe564
commit 27a47e7841
154 changed files with 291 additions and 294 deletions

View File

@ -1,4 +1,4 @@
import {Type} from '../../src/facade/lang';
import {Type} from '../facade/lang';
import {NgClass} from './ng_class';
import {NgFor} from './ng_for';
import {NgIf} from './ng_if';

View File

@ -11,8 +11,8 @@ import {
CollectionChangeRecord,
KeyValueChangeRecord
} from '@angular/core';
import {isPresent, isString, isArray} from '../../src/facade/lang';
import {StringMapWrapper, isListLikeIterable} from '../../src/facade/collection';
import {isPresent, isString, isArray} from '../facade/lang';
import {StringMapWrapper, isListLikeIterable} from '../facade/collection';
/**
* The `NgClass` directive conditionally adds and removes CSS classes on an HTML element based on

View File

@ -11,8 +11,8 @@ import {
DefaultIterableDiffer,
CollectionChangeRecord
} from '@angular/core';
import {isPresent, isBlank, getTypeNameForDebugging} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank, getTypeNameForDebugging} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
export class NgForRow {
constructor(public $implicit: any, public index: number, public count: number) {}

View File

@ -1,5 +1,5 @@
import {Directive, ViewContainerRef, TemplateRef} from '@angular/core';
import {isBlank} from '../../src/facade/lang';
import {isBlank} from '../facade/lang';
/**
* Removes or recreates a portion of the DOM tree based on an {expression}.

View File

@ -8,8 +8,8 @@ import {
AfterContentInit,
Input
} from '@angular/core';
import {isPresent, NumberWrapper} from '../../src/facade/lang';
import {Map} from '../../src/facade/collection';
import {isPresent, NumberWrapper} from '../facade/lang';
import {Map} from '../facade/collection';
import {SwitchView} from './ng_switch';

View File

@ -7,7 +7,7 @@ import {
Directive,
Renderer
} from '@angular/core';
import {isPresent, isBlank} from '../../src/facade/lang';
import {isPresent, isBlank} from '../facade/lang';
/**
* The `NgStyle` directive changes styles based on a result of expression evaluation.

View File

@ -1,6 +1,6 @@
import {Directive, Host, ViewContainerRef, TemplateRef} from '@angular/core';
import {isPresent, isBlank, normalizeBlank} from '../../src/facade/lang';
import {ListWrapper, Map} from '../../src/facade/collection';
import {isPresent, isBlank, normalizeBlank} from '../facade/lang';
import {ListWrapper, Map} from '../facade/collection';
const _WHEN_DEFAULT = /*@ts2dart_const*/ new Object();

View File

@ -1,5 +1,5 @@
import {Directive, Input, ViewContainerRef, ViewRef, TemplateRef} from '@angular/core';
import {isPresent} from '../../src/facade/lang';
import {isPresent} from '../facade/lang';
/**
* Creates and inserts an embedded view based on a prepared `TemplateRef`.

View File

@ -1,6 +1,6 @@
import {AbstractControl} from '../model';
import {isPresent} from '../../../src/facade/lang';
import {unimplemented} from '../../../src/facade/exceptions';
import {isPresent} from '../../facade/lang';
import {unimplemented} from '../../facade/exceptions';
/**
* Base class for control directives.

View File

@ -1,5 +1,5 @@
import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core';
import {isBlank} from '../../../src/facade/lang';
import {isBlank} from '../../facade/lang';
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
export const DEFAULT_VALUE_ACCESSOR: any = /*@ts2dart_const*/

View File

@ -1,4 +1,4 @@
import {unimplemented} from '../../../src/facade/exceptions';
import {unimplemented} from '../../facade/exceptions';
import {ControlValueAccessor} from './control_value_accessor';
import {AbstractControlDirective} from './abstract_control_directive';

View File

@ -11,7 +11,7 @@ import {
Self
} from '@angular/core';
import {EventEmitter, ObservableWrapper} from '../../../src/facade/async';
import {EventEmitter, ObservableWrapper} from '../../facade/async';
import {ControlContainer} from './control_container';
import {NgControl} from './ng_control';
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor';

View File

@ -1,6 +1,6 @@
import {Directive, Self} from '@angular/core';
import {NgControl} from './ng_control';
import {isPresent} from '../../../src/facade/lang';
import {isPresent} from '../../facade/lang';
/**
* Directive automatically applied to Angular forms that sets CSS classes

View File

@ -3,9 +3,9 @@ import {
PromiseWrapper,
ObservableWrapper,
EventEmitter
} from '../../../src/facade/async';
import {ListWrapper} from '../../../src/facade/collection';
import {isPresent} from '../../../src/facade/lang';
} from '../../facade/async';
import {ListWrapper} from '../../facade/collection';
import {isPresent} from '../../facade/lang';
import {NgControl} from './ng_control';
import {Form} from './form_interface';
import {NgControlGroup} from './ng_control_group';

View File

@ -8,8 +8,8 @@ import {
Self
} from '@angular/core';
import {StringMapWrapper} from '../../../src/facade/collection';
import {EventEmitter, ObservableWrapper} from '../../../src/facade/async';
import {StringMapWrapper} from '../../facade/collection';
import {EventEmitter, ObservableWrapper} from '../../facade/async';
import {NgControl} from './ng_control';
import {Control} from '../model';

View File

@ -7,10 +7,10 @@ import {
Optional,
Self
} from '@angular/core';
import {isBlank} from '../../../src/facade/lang';
import {ListWrapper, StringMapWrapper} from '../../../src/facade/collection';
import {BaseException} from '../../../src/facade/exceptions';
import {ObservableWrapper, EventEmitter} from '../../../src/facade/async';
import {isBlank} from '../../facade/lang';
import {ListWrapper, StringMapWrapper} from '../../facade/collection';
import {BaseException} from '../../facade/exceptions';
import {ObservableWrapper, EventEmitter} from '../../facade/async';
import {NgControl} from './ng_control';
import {NgControlGroup} from './ng_control_group';
import {ControlContainer} from './control_container';

View File

@ -7,7 +7,7 @@ import {
Optional,
Self
} from '@angular/core';
import {EventEmitter, ObservableWrapper} from '../../../src/facade/async';
import {EventEmitter, ObservableWrapper} from '../../facade/async';
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor';
import {NgControl} from './ng_control';
import {Control} from '../model';

View File

@ -1,5 +1,5 @@
import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core';
import {NumberWrapper} from '../../../src/facade/lang';
import {NumberWrapper} from '../../facade/lang';
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
export const NUMBER_VALUE_ACCESSOR: any = /*@ts2dart_const*/ /*@ts2dart_Provider*/ {

View File

@ -9,8 +9,8 @@ import {
Injector,
Injectable
} from '@angular/core';
import {isPresent} from '../../../src/facade/lang';
import {ListWrapper} from '../../../src/facade/collection';
import {isPresent} from '../../facade/lang';
import {ListWrapper} from '../../facade/collection';
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
import {NgControl} from './ng_control';

View File

@ -14,8 +14,8 @@ import {
isPresent,
isBlank,
looseIdentical
} from '../../../src/facade/lang';
import {MapWrapper} from '../../../src/facade/collection';
} from '../../facade/lang';
import {MapWrapper} from '../../facade/collection';
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';

View File

@ -16,9 +16,9 @@ import {
isPresent,
looseIdentical,
isString
} from '../../../src/facade/lang';
} from '../../facade/lang';
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor';
import {MapWrapper} from '../../../src/facade/collection';
import {MapWrapper} from '../../facade/collection';
const SELECT_MULTIPLE_VALUE_ACCESSOR = {
provide: NG_VALUE_ACCESSOR,

View File

@ -1,6 +1,6 @@
import {ListWrapper, StringMapWrapper} from '../../../src/facade/collection';
import {isBlank, isPresent, looseIdentical, hasConstructor} from '../../../src/facade/lang';
import {BaseException} from '../../../src/facade/exceptions';
import {ListWrapper, StringMapWrapper} from '../../facade/collection';
import {isBlank, isPresent, looseIdentical, hasConstructor} from '../../facade/lang';
import {BaseException} from '../../facade/exceptions';
import {ControlContainer} from './control_container';
import {NgControl} from './ng_control';

View File

@ -1,6 +1,6 @@
import {Injectable} from '@angular/core';
import {StringMapWrapper} from '../../src/facade/collection';
import {isPresent, isArray} from '../../src/facade/lang';
import {StringMapWrapper} from '../facade/collection';
import {isPresent, isArray} from '../facade/lang';
import * as modelModule from './model';
import {ValidatorFn, AsyncValidatorFn} from './directives/validators';

View File

@ -1,7 +1,7 @@
import {isPresent, isBlank, normalizeBool} from '../../src/facade/lang';
import {Observable, EventEmitter, ObservableWrapper} from '../../src/facade/async';
import {PromiseWrapper} from '../../src/facade/promise';
import {StringMapWrapper, ListWrapper} from '../../src/facade/collection';
import {isPresent, isBlank, normalizeBool} from '../facade/lang';
import {Observable, EventEmitter, ObservableWrapper} from '../facade/async';
import {PromiseWrapper} from '../facade/promise';
import {StringMapWrapper, ListWrapper} from '../facade/collection';
import {ValidatorFn, AsyncValidatorFn} from './directives/validators';
/**

View File

@ -1,8 +1,8 @@
import {OpaqueToken} from '@angular/core';
import {isBlank, isPresent, isString} from '../../src/facade/lang';
import {PromiseWrapper} from '../../src/facade/promise';
import {ObservableWrapper} from '../../src/facade/async';
import {StringMapWrapper} from '../../src/facade/collection';
import {isBlank, isPresent, isString} from '../facade/lang';
import {PromiseWrapper} from '../facade/promise';
import {ObservableWrapper} from '../facade/async';
import {StringMapWrapper} from '../facade/collection';
import * as modelModule from './model';
import {ValidatorFn, AsyncValidatorFn} from './directives/validators';

View File

@ -1,5 +1,5 @@
import {Injectable, Inject, Optional} from '@angular/core';
import {isPresent} from '../../src/facade/lang';
import {isPresent} from '../facade/lang';
import {LocationStrategy, APP_BASE_HREF} from './location_strategy';
import {Location} from './location';

View File

@ -1,5 +1,5 @@
import {Injectable, EventEmitter} from '@angular/core';
import {ObservableWrapper} from '../../src/facade/async';
import {ObservableWrapper} from '../facade/async';
import {LocationStrategy} from './location_strategy';

View File

@ -1,6 +1,6 @@
import {Injectable, Inject, Optional} from '@angular/core';
import {isBlank} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isBlank} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {PlatformLocation, UrlChangeListener} from './platform_location';
import {LocationStrategy, APP_BASE_HREF} from './location_strategy';

View File

@ -1,7 +1,7 @@
import {Pipe, Injectable, ChangeDetectorRef, OnDestroy, WrappedValue} from '@angular/core';
import {isBlank, isPresent, isPromise} from '../../src/facade/lang';
import {ObservableWrapper, Observable, EventEmitter} from '../../src/facade/async';
import {isBlank, isPresent, isPromise} from '../facade/lang';
import {ObservableWrapper, Observable, EventEmitter} from '../facade/async';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';

View File

@ -5,9 +5,9 @@ import {
isString,
DateWrapper,
isBlank,
} from '../../src/facade/lang';
import {DateFormatter} from '../../src/facade/intl';
import {StringMapWrapper} from '../../src/facade/collection';
} from '../facade/lang';
import {DateFormatter} from '../facade/intl';
import {StringMapWrapper} from '../facade/collection';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';

View File

@ -1,5 +1,5 @@
import {PipeTransform, Pipe} from '@angular/core';
import {isStringMap, StringWrapper, isPresent, RegExpWrapper} from '../../src/facade/lang';
import {isStringMap, StringWrapper, isPresent, RegExpWrapper} from '../facade/lang';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
var interpolationExp: RegExp = RegExpWrapper.create('#');

View File

@ -1,6 +1,6 @@
import {PipeTransform, Pipe} from '@angular/core';
import {isStringMap} from '../../src/facade/lang';
import {StringMapWrapper} from '../../src/facade/collection';
import {isStringMap} from '../facade/lang';
import {StringMapWrapper} from '../facade/collection';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
/**

View File

@ -1,5 +1,5 @@
import {Type, stringify} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {Type, stringify} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
export class InvalidPipeArgumentException extends BaseException {
constructor(type: Type, value: Object) {

View File

@ -1,5 +1,5 @@
import {PipeTransform, Pipe} from '@angular/core';
import {Json} from '../../src/facade/lang';
import {Json} from '../facade/lang';
/**

View File

@ -1,5 +1,5 @@
import {PipeTransform, Pipe} from '@angular/core';
import {isString, isBlank} from '../../src/facade/lang';
import {isString, isBlank} from '../facade/lang';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
/**

View File

@ -7,9 +7,10 @@ import {
NumberWrapper,
RegExpWrapper,
Type
} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {NumberFormatter, NumberFormatStyle} from '../../src/facade/intl';
} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {NumberFormatter, NumberFormatStyle} from '../facade/intl';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
var defaultLocale: string = 'en-US';

View File

@ -7,7 +7,7 @@ import {
isFunction,
RegExpWrapper,
StringWrapper
} from '../../src/facade/lang';
} from '../facade/lang';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';

View File

@ -1,7 +1,6 @@
import {PipeTransform, Pipe} from '@angular/core';
import {isBlank, isString, isArray, StringWrapper} from '../../src/facade/lang';
import {ListWrapper} from '../../src/facade/collection';
import {isBlank, isString, isArray, StringWrapper} from '../facade/lang';
import {ListWrapper} from '../facade/collection';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';

View File

@ -1,5 +1,5 @@
import {PipeTransform, Pipe} from '@angular/core';
import {isString, isBlank} from '../../src/facade/lang';
import {isString, isBlank} from '../facade/lang';
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
/**

View File

@ -1,5 +1,5 @@
import {ComponentResolver, Type} from '@angular/core';
import {assertionsEnabled} from '../src/facade/lang';
import {assertionsEnabled} from './facade/lang';
export * from './template_ast';
export {TEMPLATE_TRANSFORMS} from './template_parser';

View File

@ -1,5 +1,5 @@
import {NumberWrapper, StringWrapper, isPresent, resolveEnumToken} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {NumberWrapper, StringWrapper, isPresent, resolveEnumToken} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {
isWhitespace,

View File

@ -11,7 +11,7 @@ import {
NumberWrapper,
StringWrapper,
isPresent
} from '../../src/facade/lang';
} from '../facade/lang';
import {
CssLexerMode,

View File

@ -1,4 +1,4 @@
import {ListWrapper} from '../../src/facade/collection';
import {ListWrapper} from '../facade/collection';
export class AST {
visit(visitor: AstVisitor, context: any = null): any { return null; }

View File

@ -1,7 +1,7 @@
import {Injectable} from '@angular/core';
import {SetWrapper} from '../../src/facade/collection';
import {NumberWrapper, StringJoiner, StringWrapper, isPresent} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {SetWrapper} from '../facade/collection';
import {NumberWrapper, StringJoiner, StringWrapper, isPresent} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
export enum TokenType {
Character,

View File

@ -1,7 +1,7 @@
import {Injectable} from '@angular/core';
import {isBlank, isPresent, StringWrapper} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {ListWrapper} from '../../src/facade/collection';
import {isBlank, isPresent, StringWrapper} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {ListWrapper} from '../facade/collection';
import {
Lexer,
EOF,

View File

@ -10,7 +10,7 @@ import {
htmlVisitAll
} from '../html_ast';
import {BaseException} from '../../src/facade/exceptions';
import {BaseException} from '../facade/exceptions';
/**

View File

@ -1,4 +1,4 @@
import {isPresent, escape} from '../../src/facade/lang';
import {isPresent, escape} from '../facade/lang';
/**
* A message extracted from a template.

View File

@ -10,7 +10,7 @@ import {
HtmlExpansionCaseAst,
htmlVisitAll
} from '../html_ast';
import {isPresent, isBlank, StringWrapper} from '../../src/facade/lang';
import {isPresent, isBlank, StringWrapper} from '../facade/lang';
import {Message} from './message';
import {Parser} from '../expression_parser/parser';

View File

@ -1,4 +1,4 @@
import {isPresent, isBlank, RegExpWrapper} from '../../src/facade/lang';
import {isPresent, isBlank, RegExpWrapper} from '../facade/lang';
import {HtmlAst, HtmlElementAst} from '../html_ast';
import {Message, id} from './message';
import {HtmlParser} from '../html_parser';

View File

@ -7,8 +7,8 @@ import {
createHostComponentMeta
} from './compile_metadata';
import {BaseException} from '../src/facade/exceptions';
import {ListWrapper} from '../src/facade/collection';
import {BaseException} from './facade/exceptions';
import {ListWrapper} from './facade/collection';
import {StyleCompiler, StylesCompileResult} from './style_compiler';
import {ViewCompiler, ViewCompileResult} from './view_compiler/view_compiler';
import {TemplateParser} from './template_parser';
@ -17,10 +17,7 @@ import {OutputEmitter} from './output/abstract_emitter';
import * as o from './output/output_ast';
import {XHR} from './xhr';
import {
MODULE_SUFFIX,
assetUrl,
} from './util';
import {assetUrl} from './util';
var _COMPONENT_FACTORY_IDENTIFIER = new CompileIdentifierMetadata({
name: 'ComponentFactory',

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank, isString, StringWrapper} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank, isString, StringWrapper} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import * as o from './output_ast';
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;

View File

@ -1,5 +1,5 @@
import {isPresent} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import * as o from './output_ast';
import {
EmitterVisitorContext,

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank, isArray} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank, isArray} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {CompileIdentifierMetadata} from '../compile_metadata';
import * as o from './output_ast';
import {

View File

@ -1,5 +1,5 @@
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank, RegExpWrapper, Math} from '../../src/facade/lang';
import {BaseException} from '../facade/exceptions';
import {isPresent, isBlank, RegExpWrapper, Math} from '../facade/lang';
import {Injectable} from '@angular/core';
import {AssetUrl, ImportGenerator} from './path_util';

View File

@ -1,7 +1,7 @@
import {AppElement, AppView, DebugAppView} from '../../core_private';
import {isPresent} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {InstanceFactory, DynamicInstance} from './output_interpreter';
export class InterpretiveAppViewInstanceFactory implements InstanceFactory {

View File

@ -1,4 +1,4 @@
import {isString, isPresent, isBlank} from '../../src/facade/lang';
import {isString, isPresent, isBlank} from '../facade/lang';
import {CompileIdentifierMetadata} from '../compile_metadata';
//// Types

View File

@ -1,8 +1,8 @@
import {reflector} from '../../core_private';
import {isPresent, IS_DART, FunctionWrapper} from '../../src/facade/lang';
import {ObservableWrapper} from '../../src/facade/async';
import {BaseException, unimplemented} from '../../src/facade/exceptions';
import {ListWrapper} from '../../src/facade/collection';
import {isPresent, IS_DART, FunctionWrapper} from '../facade/lang';
import {ObservableWrapper} from '../facade/async';
import {BaseException, unimplemented} from '../facade/exceptions';
import {ListWrapper} from '../facade/collection';
import * as o from './output_ast';
import {debugOutputAstAsDart} from './dart_emitter';

View File

@ -1,7 +1,7 @@
import {
isPresent,
evalExpression,
} from '../../src/facade/lang';
} from '../facade/lang';
import * as o from './output_ast';
import {EmitterVisitorContext} from './abstract_emitter';
import {AbstractJsEmitterVisitor} from './abstract_js_emitter';

View File

@ -1,5 +1,5 @@
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank, RegExpWrapper, Math} from '../../src/facade/lang';
import {BaseException} from '../facade/exceptions';
import {isPresent, isBlank, RegExpWrapper, Math} from '../facade/lang';
import {Injectable} from '@angular/core';
// asset:<package-name>/<realm>/<path-to-module>

View File

@ -1,6 +1,6 @@
import * as o from './output_ast';
import {isPresent, isBlank, isArray} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank, isArray} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {CompileIdentifierMetadata} from '../compile_metadata';
import {
OutputEmitter,

View File

@ -1,6 +1,6 @@
import {BaseException} from '@angular/core';
import {isPresent, isBlank} from '../../src/facade/lang';
import {ListWrapper, StringMapWrapper} from '../../src/facade/collection';
import {isPresent, isBlank} from '../facade/lang';
import {ListWrapper, StringMapWrapper} from '../facade/collection';
import * as o from '../output/output_ast';
import {Identifiers, identifierToken} from '../identifiers';

View File

@ -1,5 +1,5 @@
import {isPresent} from '../../src/facade/lang';
import {ListWrapper} from '../../src/facade/collection';
import {isPresent} from '../facade/lang';
import {ListWrapper} from '../facade/collection';
import * as o from '../output/output_ast';
import {TemplateAst} from '../template_ast';

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank} from '../../src/facade/lang';
import {ListWrapper} from '../../src/facade/collection';
import {isPresent, isBlank} from '../facade/lang';
import {ListWrapper} from '../facade/collection';
import * as o from '../output/output_ast';
import {Identifiers} from '../identifiers';

View File

@ -1,7 +1,7 @@
import {ViewType} from '../../core_private';
import {isPresent, isBlank} from '../../src/facade/lang';
import {ListWrapper} from '../../src/facade/collection';
import {isPresent, isBlank} from '../facade/lang';
import {ListWrapper} from '../facade/collection';
import * as o from '../output/output_ast';
import {EventHandlerVars} from './constants';

View File

@ -1,7 +1,7 @@
import {ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';
import {ChangeDetectorState, ViewType} from '../../core_private';
import {isBlank, resolveEnumToken} from '../../src/facade/lang';
import {isBlank, resolveEnumToken} from '../facade/lang';
import {CompileIdentifierMetadata} from '../compile_metadata';
import * as o from '../output/output_ast';
import {Identifiers} from '../identifiers';

View File

@ -1,5 +1,5 @@
import {isBlank, isPresent, StringWrapper} from '../../src/facade/lang';
import {ListWrapper, StringMapWrapper} from '../../src/facade/collection';
import {isBlank, isPresent, StringWrapper} from '../facade/lang';
import {ListWrapper, StringMapWrapper} from '../facade/collection';
import {EventHandlerVars, ViewProperties} from './constants';

View File

@ -1,5 +1,5 @@
import {BaseException} from '../../src/facade/exceptions';
import {isBlank, isPresent, isArray} from '../../src/facade/lang';
import {BaseException} from '../facade/exceptions';
import {isBlank, isPresent, isArray} from '../facade/lang';
import * as cdAst from '../expression_parser/ast';
import * as o from '../output/output_ast';

View File

@ -1,6 +1,6 @@
import {EMPTY_STATE as EMPTY_ANIMATION_STATE, LifecycleHooks, isDefaultChangeDetectionStrategy, SecurityContext} from '../../core_private';
import {isBlank, isPresent} from '../../src/facade/lang';
import {isBlank, isPresent} from '../facade/lang';
import * as cdAst from '../expression_parser/ast';
import * as o from '../output/output_ast';

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent, isBlank} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import * as o from '../output/output_ast';
import {

View File

@ -1,6 +1,6 @@
import {
ListWrapper,
} from '../../src/facade/collection';
} from '../facade/collection';
import {
TemplateAst,
TemplateAstVisitor,

View File

@ -1,8 +1,8 @@
import {ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';
import {isDefaultChangeDetectionStrategy, ViewType} from '../../core_private';
import {isPresent, StringWrapper} from '../../src/facade/lang';
import {ListWrapper, StringMapWrapper, SetWrapper} from '../../src/facade/collection';
import {isPresent, StringWrapper} from '../facade/lang';
import {ListWrapper, StringMapWrapper, SetWrapper} from '../facade/collection';
import * as o from '../output/output_ast';
import {Identifiers, identifierToken} from '../identifiers';

View File

@ -1,7 +1,7 @@
import {looseIdentical, isPrimitive} from '../../src/facade/lang';
import {isListLikeIterable, areIterablesEqual} from '../../src/facade/collection';
import {looseIdentical, isPrimitive} from '../facade/lang';
import {isListLikeIterable, areIterablesEqual} from '../facade/collection';
export {looseIdentical} from '../../src/facade/lang';
export {looseIdentical} from '../facade/lang';
export var uninitialized: Object = /*@ts2dart_const*/ new Object();
export function devModeEqual(a: any, b: any): boolean {

View File

@ -1,4 +1,4 @@
import {isBlank} from '../../src/facade/lang';
import {isBlank} from '../facade/lang';
/**
* Describes the current state of the change detector.

View File

@ -1,5 +1,5 @@
import {BaseException} from '../../../src/facade/exceptions';
import {isListLikeIterable, iterateListLike} from '../../../src/facade/collection';
import {BaseException} from '../../facade/exceptions';
import {isListLikeIterable, iterateListLike} from '../../facade/collection';
import {
isBlank,
@ -8,7 +8,7 @@ import {
getMapKey,
looseIdentical,
isArray
} from '../../../src/facade/lang';
} from '../../facade/lang';
import {ChangeDetectorRef} from '../change_detector_ref';
import {IterableDiffer, IterableDifferFactory, TrackByFn} from './iterable_differs';

View File

@ -1,6 +1,6 @@
import {MapWrapper, StringMapWrapper} from '../../../src/facade/collection';
import {stringify, looseIdentical, isJsObject, isBlank} from '../../../src/facade/lang';
import {BaseException} from '../../../src/facade/exceptions';
import {MapWrapper, StringMapWrapper} from '../../facade/collection';
import {stringify, looseIdentical, isJsObject, isBlank} from '../../facade/lang';
import {BaseException} from '../../facade/exceptions';
import {ChangeDetectorRef} from '../change_detector_ref';
import {KeyValueDiffer, KeyValueDifferFactory} from './keyvalue_differs';

View File

@ -1,6 +1,6 @@
import {isBlank, isPresent, getTypeNameForDebugging} from '../../../src/facade/lang';
import {BaseException} from '../../../src/facade/exceptions';
import {ListWrapper} from '../../../src/facade/collection';
import {isBlank, isPresent, getTypeNameForDebugging} from '../../facade/lang';
import {BaseException} from '../../facade/exceptions';
import {ListWrapper} from '../../facade/collection';
import {ChangeDetectorRef} from '../change_detector_ref';
import {Provider, SkipSelfMetadata, OptionalMetadata} from '../../di';

View File

@ -1,6 +1,6 @@
import {isBlank, isPresent} from '../../../src/facade/lang';
import {BaseException} from '../../../src/facade/exceptions';
import {ListWrapper} from '../../../src/facade/collection';
import {isBlank, isPresent} from '../../facade/lang';
import {BaseException} from '../../facade/exceptions';
import {ListWrapper} from '../../facade/collection';
import {ChangeDetectorRef} from '../change_detector_ref';
import {Provider, SkipSelfMetadata, OptionalMetadata} from '../../di';

View File

@ -1,5 +1,5 @@
import {isPresent} from '../../src/facade/lang';
import {Predicate, ListWrapper, MapWrapper} from '../../src/facade/collection';
import {isPresent} from '../facade/lang';
import {Predicate, ListWrapper, MapWrapper} from '../facade/collection';
import {Injector} from '../di';
import {RenderDebugInfo} from '../render/api';

View File

@ -1,4 +1,4 @@
import {isPresent} from '../../src/facade/lang';
import {isPresent} from '../facade/lang';
import {Renderer, RootRenderer, RenderComponentType, RenderDebugInfo} from '../render/api';
import {
DebugNode,

View File

@ -1,4 +1,4 @@
import {Type, stringify, isFunction} from '../../src/facade/lang';
import {Type, stringify, isFunction} from '../facade/lang';
/**
* An interface that a function passed into {@link forwardRef} has to implement.

View File

@ -1,4 +1,4 @@
import {unimplemented} from '../../src/facade/exceptions';
import {unimplemented} from '../facade/exceptions';
const _THROW_IF_NOT_FOUND = /*@ts2dart_const*/ new Object();
export const THROW_IF_NOT_FOUND = /*@ts2dart_const*/ _THROW_IF_NOT_FOUND;

View File

@ -1,4 +1,4 @@
import {stringify} from '../../src/facade/lang';
import {stringify} from '../facade/lang';
/**
* A parameter metadata that specifies a dependency.

View File

@ -1,5 +1,5 @@
import {normalizeBool, Type, isType, isBlank, isFunction, stringify} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {normalizeBool, Type, isType, isBlank, isFunction, stringify} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
/**
* Describes how the {@link Injector} should instantiate a given token.

View File

@ -1,6 +1,6 @@
import {ListWrapper} from '../../src/facade/collection';
import {stringify, isBlank} from '../../src/facade/lang';
import {BaseException, WrappedException} from '../../src/facade/exceptions';
import {ListWrapper} from '../facade/collection';
import {stringify, isBlank} from '../facade/lang';
import {BaseException, WrappedException} from '../facade/exceptions';
import {ReflectiveKey} from './reflective_key';
import {ReflectiveInjector} from './reflective_injector';

View File

@ -1,4 +1,4 @@
import {ListWrapper} from '../../src/facade/collection';
import {ListWrapper} from '../facade/collection';
import {Provider} from './provider';
import {
ResolvedReflectiveProvider,
@ -13,8 +13,8 @@ import {
InstantiationError,
OutOfBoundsError
} from './reflective_exceptions';
import {Type} from '../../src/facade/lang';
import {BaseException, unimplemented} from '../../src/facade/exceptions';
import {Type} from '../facade/lang';
import {BaseException, unimplemented} from '../facade/exceptions';
import {ReflectiveKey} from './reflective_key';
import {SelfMetadata, SkipSelfMetadata} from './metadata';
import {Injector, THROW_IF_NOT_FOUND} from './injector';

View File

@ -1,5 +1,5 @@
import {stringify, isBlank} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {stringify, isBlank} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {resolveForwardRef} from './forward_ref';
/**

View File

@ -3,8 +3,8 @@ import {
isBlank,
isPresent,
isArray,
} from '../../src/facade/lang';
import {MapWrapper, ListWrapper} from '../../src/facade/collection';
} from '../facade/lang';
import {MapWrapper, ListWrapper} from '../facade/collection';
import {reflector} from '../reflection/reflection';
import {ReflectiveKey} from './reflective_key';
import {

View File

@ -1,5 +1,5 @@
import {Type, isPresent, isBlank} from '../../src/facade/lang';
import {unimplemented} from '../../src/facade/exceptions';
import {Type, isPresent, isBlank} from '../facade/lang';
import {unimplemented} from '../facade/exceptions';
import {ElementRef} from './element_ref';
import {ViewRef, ViewRef_} from './view_ref';
import {AppElement} from './element';

View File

@ -1,6 +1,6 @@
import {Type, isBlank, isString, stringify} from '../../src/facade/lang';
import {BaseException} from '../../src/facade/exceptions';
import {PromiseWrapper} from '../../src/facade/async';
import {Type, isBlank, isString, stringify} from '../facade/lang';
import {BaseException} from '../facade/exceptions';
import {PromiseWrapper} from '../facade/async';
import {reflector} from '../reflection/reflection';
import {ComponentFactory} from './component_factory';
import {Injectable} from '../di/decorators';

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank} from '../../src/facade/lang';
import {ListWrapper, StringMapWrapper} from '../../src/facade/collection';
import {isPresent, isBlank} from '../facade/lang';
import {ListWrapper, StringMapWrapper} from '../facade/collection';
import {Injector} from '../di';
import {ViewType} from './view_type';
import {RenderDebugInfo} from '../render/api';

View File

@ -1,5 +1,5 @@
import {ComponentResolver} from './component_resolver';
import {Type, isPresent} from '../../src/facade/lang';
import {Type, isPresent} from '../facade/lang';
import {ComponentRef} from './component_factory';
import {ViewContainerRef} from './view_container_ref';
import {ResolvedReflectiveProvider} from '../di/reflective_provider';

View File

@ -1,6 +1,6 @@
import {isPresent} from '../../src/facade/lang';
import {ListWrapper} from '../../src/facade/collection';
import {BaseException} from '../../src/facade/exceptions';
import {isPresent} from '../facade/lang';
import {ListWrapper} from '../facade/collection';
import {BaseException} from '../facade/exceptions';
import {AppView} from './view';
import {ViewType} from './view_type';

View File

@ -1,4 +1,4 @@
import {BaseException, WrappedException} from '../../src/facade/exceptions';
import {BaseException, WrappedException} from '../facade/exceptions';
/**
* An error thrown if application changes model breaking the top-down data flow.

View File

@ -1,6 +1,6 @@
import {ListWrapper} from '../../src/facade/collection';
import {getSymbolIterator} from '../../src/facade/lang';
import {Observable, EventEmitter} from '../../src/facade/async';
import {ListWrapper} from '../facade/collection';
import {getSymbolIterator} from '../facade/lang';
import {Observable, EventEmitter} from '../facade/async';
/**

View File

@ -1,5 +1,5 @@
import { ComponentResolver } from './component_resolver';
import { Type, isString, global } from '../../src/facade/lang';
import { Type, isString, global } from '../facade/lang';
import { ComponentFactory } from './component_factory';
/**

View File

@ -1,7 +1,7 @@
import {ListWrapper} from '../../src/facade/collection';
import {unimplemented} from '../../src/facade/exceptions';
import {ListWrapper} from '../facade/collection';
import {unimplemented} from '../facade/exceptions';
import {Injector} from '../di/injector';
import {isPresent} from '../../src/facade/lang';
import {isPresent} from '../facade/lang';
import {wtfCreateScope, wtfLeave, WtfScopeFn} from '../profile/profile';
import {AppElement} from './element';

View File

@ -1,4 +1,4 @@
import {unimplemented} from '../../src/facade/exceptions';
import {unimplemented} from '../facade/exceptions';
import {ChangeDetectorRef} from '../change_detection/change_detector_ref';
import {AppView} from './view';
import {ChangeDetectionStrategy} from '../change_detection/constants';

View File

@ -1,7 +1,7 @@
import {SanitizationService} from '../security';
import {isBlank, isPresent, looseIdentical} from '../../src/facade/lang';
import {ListWrapper, StringMapWrapper} from '../../src/facade/collection';
import {BaseException} from '../../src/facade/exceptions';
import {isBlank, isPresent, looseIdentical} from '../facade/lang';
import {ListWrapper, StringMapWrapper} from '../facade/collection';
import {BaseException} from '../facade/exceptions';
import {AppElement} from './element';
import {ExpressionChangedAfterItHasBeenCheckedException} from './exceptions';
import {devModeEqual} from '../change_detection/change_detection';

View File

@ -1,4 +1,4 @@
import {stringify, isString, Type, StringWrapper} from '../../src/facade/lang';
import {stringify, isString, Type, StringWrapper} from '../facade/lang';
import {DependencyMetadata} from '../di/metadata';
import {resolveForwardRef} from '../di/forward_ref';

View File

@ -1,4 +1,4 @@
import {isPresent, Type} from '../../src/facade/lang';
import {isPresent, Type} from '../facade/lang';
import {InjectableMetadata} from '../di/metadata';
import {ViewEncapsulation} from './view';
import {ChangeDetectionStrategy} from '../change_detection/constants';

Some files were not shown because too many files have changed in this diff Show More