chore(packaging): update import for the new file structure
This commit is contained in:
parent
3820609f24
commit
3f228669d7
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Define public API for Angular here.
|
* Define public API for Angular here.
|
||||||
*/
|
*/
|
||||||
export * from 'change_detection/change_detection';
|
export * from './change_detection';
|
||||||
export * from 'core/core';
|
export * from './core';
|
||||||
export * from 'directives/directives';
|
export * from './directives';
|
||||||
|
|
|
@ -1,15 +1,20 @@
|
||||||
export {AST} from './src/parser/ast';
|
export {AST} from './src/change_detection/parser/ast';
|
||||||
export {Lexer} from './src/parser/lexer';
|
export {Lexer} from './src/change_detection/parser/lexer';
|
||||||
export {Parser} from './src/parser/parser';
|
export {Parser} from './src/change_detection/parser/parser';
|
||||||
export {ContextWithVariableBindings} from './src/parser/context_with_variable_bindings';
|
export {ContextWithVariableBindings}
|
||||||
|
from './src/change_detection/parser/context_with_variable_bindings';
|
||||||
|
|
||||||
export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError} from './src/exceptions';
|
export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError}
|
||||||
|
from './src/change_detection/exceptions';
|
||||||
export {ChangeRecord, ChangeDispatcher, ChangeDetector,
|
export {ChangeRecord, ChangeDispatcher, ChangeDetector,
|
||||||
CHECK_ONCE, CHECK_ALWAYS, DETACHED, CHECKED} from './src/interfaces';
|
CHECK_ONCE, CHECK_ALWAYS, DETACHED, CHECKED} from './src/change_detection/interfaces';
|
||||||
export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector}
|
||||||
export {DynamicChangeDetector} from './src/dynamic_change_detector';
|
from './src/change_detection/proto_change_detector';
|
||||||
|
export {DynamicChangeDetector}
|
||||||
|
from './src/change_detection/dynamic_change_detector';
|
||||||
|
|
||||||
import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector}
|
||||||
|
from './src/change_detection/proto_change_detector';
|
||||||
|
|
||||||
export class ChangeDetection {
|
export class ChangeDetection {
|
||||||
createProtoChangeDetector(name:string){}
|
createProtoChangeDetector(name:string){}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
export * from './src/annotations/annotations';
|
export * from './src/core/annotations/annotations';
|
||||||
export * from './src/annotations/visibility';
|
export * from './src/core/annotations/visibility';
|
||||||
export * from './src/compiler/interfaces';
|
export * from './src/core/compiler/interfaces';
|
||||||
export * from './src/annotations/template_config';
|
export * from './src/core/annotations/template_config';
|
||||||
|
|
||||||
export * from './src/application';
|
export * from './src/core/application';
|
||||||
|
|
||||||
export * from './src/compiler/compiler';
|
export * from './src/core/compiler/compiler';
|
||||||
export * from './src/compiler/template_loader';
|
export * from './src/core/compiler/template_loader';
|
||||||
export * from './src/compiler/view';
|
export * from './src/core/compiler/view';
|
||||||
export * from './src/compiler/viewport';
|
export * from './src/core/compiler/viewport';
|
||||||
|
|
||||||
export * from './src/dom/element';
|
export * from './src/core/dom/element';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export {Inject, InjectPromise, InjectLazy, DependencyAnnotation} from './src/annotations';
|
export {Inject, InjectPromise, InjectLazy, DependencyAnnotation} from './src/di/annotations';
|
||||||
export {Injector} from './src/injector';
|
export {Injector} from './src/di/injector';
|
||||||
export {Binding, Dependency, bind} from './src/binding';
|
export {Binding, Dependency, bind} from './src/di/binding';
|
||||||
export {Key, KeyRegistry} from './src/key';
|
export {Key, KeyRegistry} from './src/di/key';
|
||||||
export {KeyMetadataError, NoProviderError, ProviderError, AsyncBindingError, CyclicDependencyError,
|
export {KeyMetadataError, NoProviderError, ProviderError, AsyncBindingError, CyclicDependencyError,
|
||||||
InstantiationError, InvalidBindingError, NoAnnotationError} from './src/exceptions';
|
InstantiationError, InvalidBindingError, NoAnnotationError} from './src/di/exceptions';
|
||||||
export {OpaqueToken} from './src/opaque_token';
|
export {OpaqueToken} from './src/di/opaque_token';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export * from './src/ng_if';
|
export * from './src/directives/ng_if';
|
||||||
export * from './src/ng_non_bindable';
|
export * from './src/directives/ng_non_bindable';
|
||||||
export * from './src/ng_repeat';
|
export * from './src/directives/ng_repeat';
|
||||||
export * from './src/ng_switch';
|
export * from './src/directives/ng_switch';
|
||||||
|
|
|
@ -1,20 +1,8 @@
|
||||||
name: angular
|
name: angular2
|
||||||
version: 2.0.0-alpha.1
|
version: 2.0.0-alpha.1
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=1.4.0'
|
sdk: '>=1.4.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
stack_trace: '1.1.1'
|
stack_trace: '1.1.1'
|
||||||
change_detection:
|
|
||||||
path: ../change_detection
|
|
||||||
di:
|
|
||||||
path: ../di
|
|
||||||
facade:
|
|
||||||
path: ../facade
|
|
||||||
reflection:
|
|
||||||
path: ../reflection
|
|
||||||
directives:
|
|
||||||
path: ../directives
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
test_lib:
|
|
||||||
path: ../test_lib
|
|
||||||
guinness: ">=0.1.16 <0.2.0"
|
guinness: ">=0.1.16 <0.2.0"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ChangeDetector, CHECK_ALWAYS, CHECK_ONCE, CHECKED, DETACHED} from './interfaces';
|
import {ChangeDetector, CHECK_ALWAYS, CHECK_ONCE, CHECKED, DETACHED} from './interfaces';
|
||||||
|
|
||||||
export class AbstractChangeDetector extends ChangeDetector {
|
export class AbstractChangeDetector extends ChangeDetector {
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {
|
||||||
iterateListLike,
|
iterateListLike,
|
||||||
ListWrapper,
|
ListWrapper,
|
||||||
MapWrapper
|
MapWrapper
|
||||||
} from 'facade/src/collection';
|
} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
int,
|
int,
|
||||||
|
@ -12,7 +12,7 @@ import {
|
||||||
stringify,
|
stringify,
|
||||||
getMapKey,
|
getMapKey,
|
||||||
looseIdentical,
|
looseIdentical,
|
||||||
} from 'facade/src/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class ArrayChanges {
|
export class ArrayChanges {
|
||||||
_collection;
|
_collection;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent, isBlank, BaseException, Type} from 'facade/src/lang';
|
import {isPresent, isBlank, BaseException, Type} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||||
import {AbstractChangeDetector} from './abstract_change_detector';
|
import {AbstractChangeDetector} from './abstract_change_detector';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent, isBlank, BaseException, Type} from 'facade/src/lang';
|
import {isPresent, isBlank, BaseException, Type} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||||
import {ArrayChanges} from './array_changes';
|
import {ArrayChanges} from './array_changes';
|
||||||
import {KeyValueChanges} from './keyvalue_changes';
|
import {KeyValueChanges} from './keyvalue_changes';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, Map, MapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, Map, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {RECORD_TYPE_SELF, ProtoRecord} from './proto_change_detector';
|
import {RECORD_TYPE_SELF, ProtoRecord} from './proto_change_detector';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent, isBlank, BaseException, FunctionWrapper} from 'facade/src/lang';
|
import {isPresent, isBlank, BaseException, FunctionWrapper} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||||
|
|
||||||
import {AbstractChangeDetector} from './abstract_change_detector';
|
import {AbstractChangeDetector} from './abstract_change_detector';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export class ChangeRecord {
|
export class ChangeRecord {
|
||||||
bindingMemento:any;
|
bindingMemento:any;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {stringify, looseIdentical, isJsObject} from 'facade/src/lang';
|
import {stringify, looseIdentical, isJsObject} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class KeyValueChanges {
|
export class KeyValueChanges {
|
||||||
_records:Map;
|
_records:Map;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {FIELD, autoConvertAdd, isBlank, isPresent, FunctionWrapper, BaseException} from "facade/src/lang";
|
import {FIELD, autoConvertAdd, isBlank, isPresent, FunctionWrapper, BaseException} from "angular2/src/facade/lang";
|
||||||
import {List, Map, ListWrapper, StringMapWrapper} from "facade/src/collection";
|
import {List, Map, ListWrapper, StringMapWrapper} from "angular2/src/facade/collection";
|
||||||
import {ContextWithVariableBindings} from "./context_with_variable_bindings";
|
import {ContextWithVariableBindings} from "./context_with_variable_bindings";
|
||||||
|
|
||||||
export class AST {
|
export class AST {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {BaseException} from 'facade/src/lang';
|
import {BaseException} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class ContextWithVariableBindings {
|
export class ContextWithVariableBindings {
|
||||||
parent:any;
|
parent:any;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {List, ListWrapper, SetWrapper} from "facade/src/collection";
|
import {List, ListWrapper, SetWrapper} from "angular2/src/facade/collection";
|
||||||
import {int, FIELD, NumberWrapper, StringJoiner, StringWrapper} from "facade/src/lang";
|
import {int, FIELD, NumberWrapper, StringJoiner, StringWrapper} from "angular2/src/facade/lang";
|
||||||
|
|
||||||
export const TOKEN_TYPE_CHARACTER = 1;
|
export const TOKEN_TYPE_CHARACTER = 1;
|
||||||
export const TOKEN_TYPE_IDENTIFIER = 2;
|
export const TOKEN_TYPE_IDENTIFIER = 2;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {FIELD, int, isBlank, isPresent, BaseException, StringWrapper, RegExpWrapper} from 'facade/src/lang';
|
import {FIELD, int, isBlank, isPresent, BaseException, StringWrapper, RegExpWrapper} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, List} from 'facade/src/collection';
|
import {ListWrapper, List} from 'angular2/src/facade/collection';
|
||||||
import {Lexer, EOF, Token, $PERIOD, $COLON, $SEMICOLON, $LBRACKET, $RBRACKET,
|
import {Lexer, EOF, Token, $PERIOD, $COLON, $SEMICOLON, $LBRACKET, $RBRACKET,
|
||||||
$COMMA, $LBRACE, $RBRACE, $LPAREN, $RPAREN} from './lexer';
|
$COMMA, $LBRACE, $RBRACE, $LPAREN, $RPAREN} from './lexer';
|
||||||
import {reflector, Reflector} from 'reflection/src/reflection';
|
import {reflector, Reflector} from 'angular2/src/reflection/reflection';
|
||||||
import {
|
import {
|
||||||
AST,
|
AST,
|
||||||
EmptyExpr,
|
EmptyExpr,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent, isBlank, BaseException, Type, isString} from 'facade/src/lang';
|
import {isPresent, isBlank, BaseException, Type, isString} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
AccessMember,
|
AccessMember,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {ABSTRACT, CONST, normalizeBlank} from 'facade/src/lang';
|
import {ABSTRACT, CONST, normalizeBlank} from 'angular2/src/facade/lang';
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
import {TemplateConfig} from './template_config';
|
import {TemplateConfig} from './template_config';
|
||||||
import {ShadowDomStrategy} from '../compiler/shadow_dom';
|
import {ShadowDomStrategy} from '../compiler/shadow_dom';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {CONST} from 'facade/src/lang';
|
import {CONST} from 'angular2/src/facade/lang';
|
||||||
import {DependencyAnnotation} from 'di/di';
|
import {DependencyAnnotation} from 'angular2/di';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The directive can inject an emitter function that would emit events onto the
|
* The directive can inject an emitter function that would emit events onto the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {ABSTRACT, CONST, Type} from 'facade/src/lang';
|
import {ABSTRACT, CONST, Type} from 'angular2/src/facade/lang';
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export class TemplateConfig {
|
export class TemplateConfig {
|
||||||
url:any; //string;
|
url:any; //string;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {CONST} from 'facade/src/lang';
|
import {CONST} from 'angular2/src/facade/lang';
|
||||||
import {DependencyAnnotation} from 'di/di';
|
import {DependencyAnnotation} from 'angular2/di';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The directive can only be injected from the current element
|
* The directive can only be injected from the current element
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import {Injector, bind, OpaqueToken} from 'di/di';
|
import {Injector, bind, OpaqueToken} from 'angular2/di';
|
||||||
import {Type, FIELD, isBlank, isPresent, BaseException, assertionsEnabled, print} from 'facade/src/lang';
|
import {Type, FIELD, isBlank, isPresent, BaseException, assertionsEnabled, print} from 'angular2/src/facade/lang';
|
||||||
import {DOM, Element} from 'facade/src/dom';
|
import {DOM, Element} from 'angular2/src/facade/dom';
|
||||||
import {Compiler, CompilerCache} from './compiler/compiler';
|
import {Compiler, CompilerCache} from './compiler/compiler';
|
||||||
import {ProtoView} from './compiler/view';
|
import {ProtoView} from './compiler/view';
|
||||||
import {Reflector, reflector} from 'reflection/src/reflection';
|
import {Reflector, reflector} from 'angular2/src/reflection/reflection';
|
||||||
import {Parser, Lexer, ChangeDetection, dynamicChangeDetection, jitChangeDetection} from 'change_detection/change_detection';
|
import {Parser, Lexer, ChangeDetection, dynamicChangeDetection, jitChangeDetection} from 'angular2/change_detection';
|
||||||
import {TemplateLoader} from './compiler/template_loader';
|
import {TemplateLoader} from './compiler/template_loader';
|
||||||
import {DirectiveMetadataReader} from './compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from './compiler/directive_metadata_reader';
|
||||||
import {DirectiveMetadata} from './compiler/directive_metadata';
|
import {DirectiveMetadata} from './compiler/directive_metadata';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {PromiseWrapper} from 'facade/src/async';
|
import {PromiseWrapper} from 'angular2/src/facade/async';
|
||||||
import {VmTurnZone} from 'core/src/zone/vm_turn_zone';
|
import {VmTurnZone} from 'angular2/src/core/zone/vm_turn_zone';
|
||||||
import {LifeCycle} from 'core/src/life_cycle/life_cycle';
|
import {LifeCycle} from 'angular2/src/core/life_cycle/life_cycle';
|
||||||
|
|
||||||
var _rootInjector: Injector;
|
var _rootInjector: Injector;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {ChangeDetector, CHECK_ONCE, DETACHED, CHECK_ALWAYS} from 'change_detection/change_detection';
|
import {ChangeDetector, CHECK_ONCE, DETACHED, CHECK_ALWAYS} from 'angular2/change_detection';
|
||||||
|
|
||||||
export class BindingPropagationConfig {
|
export class BindingPropagationConfig {
|
||||||
_cd:ChangeDetector;
|
_cd:ChangeDetector;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import {Type, FIELD, isBlank, isPresent, BaseException, stringify} from 'facade/src/lang';
|
import {Type, FIELD, isBlank, isPresent, BaseException, stringify} from 'angular2/src/facade/lang';
|
||||||
import {Promise, PromiseWrapper} from 'facade/src/async';
|
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
|
||||||
import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM, Element} from 'facade/src/dom';
|
import {DOM, Element} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {ChangeDetection, Parser} from 'change_detection/change_detection';
|
import {ChangeDetection, Parser} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {DirectiveMetadataReader} from './directive_metadata_reader';
|
import {DirectiveMetadataReader} from './directive_metadata_reader';
|
||||||
import {ProtoView} from './view';
|
import {ProtoView} from './view';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Type} from 'facade/src/lang';
|
import {Type} from 'angular2/src/facade/lang';
|
||||||
import {Directive} from '../annotations/annotations'
|
import {Directive} from '../annotations/annotations'
|
||||||
import {List} from 'facade/src/collection'
|
import {List} from 'angular2/src/facade/collection'
|
||||||
import {ShadowDomStrategy} from './shadow_dom';
|
import {ShadowDomStrategy} from './shadow_dom';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {Type, isPresent, BaseException, stringify} from 'facade/src/lang';
|
import {Type, isPresent, BaseException, stringify} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Directive, Component} from '../annotations/annotations';
|
import {Directive, Component} from '../annotations/annotations';
|
||||||
import {DirectiveMetadata} from './directive_metadata';
|
import {DirectiveMetadata} from './directive_metadata';
|
||||||
import {reflector} from 'reflection/src/reflection';
|
import {reflector} from 'angular2/src/reflection/reflection';
|
||||||
import {ShadowDom, ShadowDomStrategy, ShadowDomNative} from './shadow_dom';
|
import {ShadowDom, ShadowDomStrategy, ShadowDomNative} from './shadow_dom';
|
||||||
|
|
||||||
export class DirectiveMetadataReader {
|
export class DirectiveMetadataReader {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {ProtoElementInjector} from './element_injector';
|
import {ProtoElementInjector} from './element_injector';
|
||||||
import {FIELD} from 'facade/src/lang';
|
import {FIELD} from 'angular2/src/facade/lang';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DirectiveMetadata} from './directive_metadata';
|
import {DirectiveMetadata} from './directive_metadata';
|
||||||
import {List, Map} from 'facade/src/collection';
|
import {List, Map} from 'angular2/src/facade/collection';
|
||||||
import {ProtoView} from './view';
|
import {ProtoView} from './view';
|
||||||
|
|
||||||
export class ElementBinder {
|
export class ElementBinder {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
import {FIELD, isPresent, isBlank, Type, int, BaseException} from 'facade/src/lang';
|
import {FIELD, isPresent, isBlank, Type, int, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {Math} from 'facade/src/math';
|
import {Math} from 'angular2/src/facade/math';
|
||||||
import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Injector, Key, Dependency, bind, Binding, NoProviderError, ProviderError, CyclicDependencyError} from 'di/di';
|
import {Injector, Key, Dependency, bind, Binding, NoProviderError, ProviderError, CyclicDependencyError} from 'angular2/di';
|
||||||
import {Parent, Ancestor} from 'core/src/annotations/visibility';
|
import {Parent, Ancestor} from 'angular2/src/core/annotations/visibility';
|
||||||
import {EventEmitter} from 'core/src/annotations/events';
|
import {EventEmitter} from 'angular2/src/core/annotations/events';
|
||||||
import {onDestroy} from 'core/src/annotations/annotations';
|
import {onDestroy} from 'angular2/src/core/annotations/annotations';
|
||||||
import {View, ProtoView} from 'core/src/compiler/view';
|
import {View, ProtoView} from 'angular2/src/core/compiler/view';
|
||||||
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
|
import {LightDom, SourceLightDom, DestinationLightDom} from 'angular2/src/core/compiler/shadow_dom_emulation/light_dom';
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
import {Directive} from 'core/src/annotations/annotations'
|
import {Directive} from 'angular2/src/core/annotations/annotations'
|
||||||
import {BindingPropagationConfig} from 'core/src/compiler/binding_propagation_config'
|
import {BindingPropagationConfig} from 'angular2/src/core/compiler/binding_propagation_config'
|
||||||
|
|
||||||
var _MAX_DIRECTIVE_CONSTRUCTION_COUNTER = 10;
|
var _MAX_DIRECTIVE_CONSTRUCTION_COUNTER = 10;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isBlank} from 'facade/src/lang';
|
import {isBlank} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM, Element} from 'facade/src/dom';
|
import {DOM, Element} from 'angular2/src/facade/dom';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {List, Map, ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {List, Map, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Element, DOM} from 'facade/src/dom';
|
import {Element, DOM} from 'angular2/src/facade/dom';
|
||||||
import {int, isBlank, isPresent, Type} from 'facade/src/lang';
|
import {int, isBlank, isPresent, Type} from 'angular2/src/facade/lang';
|
||||||
import {DirectiveMetadata} from '../directive_metadata';
|
import {DirectiveMetadata} from '../directive_metadata';
|
||||||
import {Decorator} from '../../annotations/annotations';
|
import {Decorator} from '../../annotations/annotations';
|
||||||
import {Component} from '../../annotations/annotations';
|
import {Component} from '../../annotations/annotations';
|
||||||
|
@ -9,7 +9,7 @@ import {ElementBinder} from '../element_binder';
|
||||||
import {ProtoElementInjector} from '../element_injector';
|
import {ProtoElementInjector} from '../element_injector';
|
||||||
import {ProtoView} from '../view';
|
import {ProtoView} from '../view';
|
||||||
|
|
||||||
import {AST} from 'change_detection/change_detection';
|
import {AST} from 'angular2/change_detection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Collects all data that is needed to process an element
|
* Collects all data that is needed to process an element
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Element, Node, DOM} from 'facade/src/dom';
|
import {Element, Node, DOM} from 'angular2/src/facade/dom';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
import {CompileControl} from './compile_control';
|
import {CompileControl} from './compile_control';
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {ChangeDetection, Parser} from 'change_detection/change_detection';
|
import {ChangeDetection, Parser} from 'angular2/change_detection';
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {PropertyBindingParser} from './property_binding_parser';
|
import {PropertyBindingParser} from './property_binding_parser';
|
||||||
import {TextInterpolationParser} from './text_interpolation_parser';
|
import {TextInterpolationParser} from './text_interpolation_parser';
|
||||||
|
@ -9,8 +9,8 @@ import {ElementBindingMarker} from './element_binding_marker';
|
||||||
import {ProtoViewBuilder} from './proto_view_builder';
|
import {ProtoViewBuilder} from './proto_view_builder';
|
||||||
import {ProtoElementInjectorBuilder} from './proto_element_injector_builder';
|
import {ProtoElementInjectorBuilder} from './proto_element_injector_builder';
|
||||||
import {ElementBinderBuilder} from './element_binder_builder';
|
import {ElementBinderBuilder} from './element_binder_builder';
|
||||||
import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
|
import {DirectiveMetadata} from 'angular2/src/core/compiler/directive_metadata';
|
||||||
import {stringify} from 'facade/src/lang';
|
import {stringify} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default steps used for compiling a template.
|
* Default steps used for compiling a template.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isPresent, BaseException} from 'facade/src/lang';
|
import {isPresent, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {List, MapWrapper} from 'facade/src/collection';
|
import {List, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {TemplateElement} from 'facade/src/dom';
|
import {TemplateElement} from 'angular2/src/facade/dom';
|
||||||
import {SelectorMatcher} from '../selector';
|
import {SelectorMatcher} from '../selector';
|
||||||
import {CssSelector} from '../selector';
|
import {CssSelector} from '../selector';
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {int, isPresent, isBlank, Type, BaseException, StringWrapper, stringify} from 'facade/src/lang';
|
import {int, isPresent, isBlank, Type, BaseException, StringWrapper, stringify} from 'angular2/src/facade/lang';
|
||||||
import {Element, DOM} from 'facade/src/dom';
|
import {Element, DOM} from 'angular2/src/facade/dom';
|
||||||
import {ListWrapper, List, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {ListWrapper, List, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {reflector} from 'reflection/src/reflection';
|
import {reflector} from 'angular2/src/reflection/reflection';
|
||||||
|
|
||||||
import {Parser, ProtoChangeDetector} from 'change_detection/change_detection';
|
import {Parser, ProtoChangeDetector} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {Component, Directive} from '../../annotations/annotations';
|
import {Component, Directive} from '../../annotations/annotations';
|
||||||
import {DirectiveMetadata} from '../directive_metadata';
|
import {DirectiveMetadata} from '../directive_metadata';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {isPresent, isBlank, RegExpWrapper, BaseException} from 'facade/src/lang';
|
import {isPresent, isBlank, RegExpWrapper, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {TemplateElement} from 'facade/src/dom';
|
import {TemplateElement} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {Parser, AST, ExpressionWithSource} from 'change_detection/change_detection';
|
import {Parser, AST, ExpressionWithSource} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {isPresent, isBlank} from 'facade/src/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper} from 'facade/src/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {Key} from 'di/di';
|
import {Key} from 'angular2/di';
|
||||||
import {ProtoElementInjector, ComponentKeyMetaData, DirectiveBinding} from '../element_injector';
|
import {ProtoElementInjector, ComponentKeyMetaData, DirectiveBinding} from '../element_injector';
|
||||||
|
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {isPresent, BaseException} from 'facade/src/lang';
|
import {isPresent, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {ProtoView} from '../view';
|
import {ProtoView} from '../view';
|
||||||
import {ChangeDetection} from 'change_detection/change_detection';
|
import {ChangeDetection} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {RegExpWrapper, StringWrapper, isPresent} from 'facade/src/lang';
|
import {RegExpWrapper, StringWrapper, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {Node, DOM} from 'facade/src/dom';
|
import {Node, DOM} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {Parser} from 'change_detection/change_detection';
|
import {Parser} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {isBlank, isPresent, BaseException} from 'facade/src/lang';
|
import {isBlank, isPresent, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {DOM, TemplateElement} from 'facade/src/dom';
|
import {DOM, TemplateElement} from 'angular2/src/facade/dom';
|
||||||
import {MapWrapper, ListWrapper} from 'facade/src/collection';
|
import {MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {Parser} from 'change_detection/change_detection';
|
import {Parser} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {CompileStep} from './compile_step';
|
import {CompileStep} from './compile_step';
|
||||||
import {CompileElement} from './compile_element';
|
import {CompileElement} from './compile_element';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {List, Map, ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {List, Map, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isPresent, isBlank, RegExpWrapper, RegExpMatcherWrapper, StringWrapper} from 'facade/src/lang';
|
import {isPresent, isBlank, RegExpWrapper, RegExpMatcherWrapper, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
const _EMPTY_ATTR_VALUE = '';
|
const _EMPTY_ATTR_VALUE = '';
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {Decorator} from '../../annotations/annotations';
|
import {Decorator} from '../../annotations/annotations';
|
||||||
import {SourceLightDom, DestinationLightDom, LightDom} from './light_dom';
|
import {SourceLightDom, DestinationLightDom, LightDom} from './light_dom';
|
||||||
import {Inject} from 'di/di';
|
import {Inject} from 'angular2/di';
|
||||||
import {Element, Node, DOM} from 'facade/src/dom';
|
import {Element, Node, DOM} from 'angular2/src/facade/dom';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
|
|
||||||
var _scriptTemplate = DOM.createScriptTag('type', 'ng/content')
|
var _scriptTemplate = DOM.createScriptTag('type', 'ng/content')
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Element, Node, DOM} from 'facade/src/dom';
|
import {Element, Node, DOM} from 'angular2/src/facade/dom';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isBlank, isPresent} from 'facade/src/lang';
|
import {isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {View} from '../view';
|
import {View} from '../view';
|
||||||
import {ElementInjector} from '../element_injector';
|
import {ElementInjector} from '../element_injector';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {CONST} from 'facade/src/lang';
|
import {CONST} from 'angular2/src/facade/lang';
|
||||||
import {DOM, Element} from 'facade/src/dom';
|
import {DOM, Element} from 'angular2/src/facade/dom';
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
import {View} from './view';
|
import {View} from './view';
|
||||||
import {Content} from './shadow_dom_emulation/content_tag';
|
import {Content} from './shadow_dom_emulation/content_tag';
|
||||||
import {LightDom} from './shadow_dom_emulation/light_dom';
|
import {LightDom} from './shadow_dom_emulation/light_dom';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Promise} from 'facade/src/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
//import {Document} from 'facade/src/dom';
|
//import {Document} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strategy to load component templates.
|
* Strategy to load component templates.
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
import {DOM, Element, Node, Text, DocumentFragment, TemplateElement} from 'facade/src/dom';
|
import {DOM, Element, Node, Text, DocumentFragment, TemplateElement} from 'angular2/src/facade/dom';
|
||||||
import {ListWrapper, MapWrapper, StringMapWrapper, List} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper, StringMapWrapper, List} from 'angular2/src/facade/collection';
|
||||||
import {AST, ContextWithVariableBindings, ChangeDispatcher, ProtoChangeDetector, ChangeDetector, ChangeRecord}
|
import {AST, ContextWithVariableBindings, ChangeDispatcher, ProtoChangeDetector, ChangeDetector, ChangeRecord}
|
||||||
from 'change_detection/change_detection';
|
from 'angular2/change_detection';
|
||||||
|
|
||||||
import {ProtoElementInjector, ElementInjector, PreBuiltObjects} from './element_injector';
|
import {ProtoElementInjector, ElementInjector, PreBuiltObjects} from './element_injector';
|
||||||
import {BindingPropagationConfig} from './binding_propagation_config';
|
import {BindingPropagationConfig} from './binding_propagation_config';
|
||||||
import {ElementBinder} from './element_binder';
|
import {ElementBinder} from './element_binder';
|
||||||
import {DirectiveMetadata} from './directive_metadata';
|
import {DirectiveMetadata} from './directive_metadata';
|
||||||
import {SetterFn} from 'reflection/src/types';
|
import {SetterFn} from 'angular2/src/reflection/types';
|
||||||
import {FIELD, IMPLEMENTS, int, isPresent, isBlank, BaseException} from 'facade/src/lang';
|
import {FIELD, IMPLEMENTS, int, isPresent, isBlank, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {Injector} from 'di/di';
|
import {Injector} from 'angular2/di';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
import {ViewPort} from './viewport';
|
import {ViewPort} from './viewport';
|
||||||
import {OnChange} from './interfaces';
|
import {OnChange} from './interfaces';
|
||||||
import {Content} from './shadow_dom_emulation/content_tag';
|
import {Content} from './shadow_dom_emulation/content_tag';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {View, ProtoView} from './view';
|
import {View, ProtoView} from './view';
|
||||||
import {DOM, Node, Element} from 'facade/src/dom';
|
import {DOM, Node, Element} from 'angular2/src/facade/dom';
|
||||||
import {ListWrapper, MapWrapper, List} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper, List} from 'angular2/src/facade/collection';
|
||||||
import {BaseException} from 'facade/src/lang';
|
import {BaseException} from 'angular2/src/facade/lang';
|
||||||
import {Injector} from 'di/di';
|
import {Injector} from 'angular2/di';
|
||||||
import {ElementInjector} from 'core/src/compiler/element_injector';
|
import {ElementInjector} from 'angular2/src/core/compiler/element_injector';
|
||||||
import {isPresent, isBlank} from 'facade/src/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class ViewPort {
|
export class ViewPort {
|
||||||
parentView: View;
|
parentView: View;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {DOM, Element} from 'facade/src/dom';
|
import {DOM, Element} from 'angular2/src/facade/dom';
|
||||||
import {normalizeBlank} from 'facade/src/lang';
|
import {normalizeBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class NgElement {
|
export class NgElement {
|
||||||
domElement:Element;
|
domElement:Element;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {FIELD, print} from 'facade/src/lang';
|
import {FIELD, print} from 'angular2/src/facade/lang';
|
||||||
import {ChangeDetector} from 'change_detection/change_detection';
|
import {ChangeDetector} from 'angular2/change_detection';
|
||||||
import {VmTurnZone} from 'core/src/zone/vm_turn_zone';
|
import {VmTurnZone} from 'angular2/src/core/zone/vm_turn_zone';
|
||||||
import {ListWrapper} from 'facade/src/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export class LifeCycle {
|
export class LifeCycle {
|
||||||
_changeDetector:ChangeDetector;
|
_changeDetector:ChangeDetector;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {List, ListWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {normalizeBlank, isPresent} from 'facade/src/lang';
|
import {normalizeBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class VmTurnZone {
|
export class VmTurnZone {
|
||||||
_outerZone;
|
_outerZone;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {CONST} from "facade/src/lang";
|
import {CONST} from "angular2/src/facade/lang";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A parameter annotation that creates a synchronous eager dependency.
|
* A parameter annotation that creates a synchronous eager dependency.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {FIELD, Type, isBlank, isPresent} from 'facade/src/lang';
|
import {FIELD, Type, isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, MapWrapper, ListWrapper} from 'facade/src/collection';
|
import {List, MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {reflector} from 'reflection/src/reflection';
|
import {reflector} from 'angular2/src/reflection/reflection';
|
||||||
import {Key} from './key';
|
import {Key} from './key';
|
||||||
import {Inject, InjectLazy, InjectPromise, DependencyAnnotation} from './annotations';
|
import {Inject, InjectLazy, InjectPromise, DependencyAnnotation} from './annotations';
|
||||||
import {NoAnnotationError} from './exceptions';
|
import {NoAnnotationError} from './exceptions';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {ListWrapper, List} from 'facade/src/collection';
|
import {ListWrapper, List} from 'angular2/src/facade/collection';
|
||||||
import {stringify} from 'facade/src/lang';
|
import {stringify} from 'angular2/src/facade/lang';
|
||||||
import {Key} from './key';
|
import {Key} from './key';
|
||||||
|
|
||||||
function findFirstClosedCycle(keys:List) {
|
function findFirstClosedCycle(keys:List) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import {Map, List, MapWrapper, ListWrapper} from 'facade/src/collection';
|
import {Map, List, MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Binding, BindingBuilder, bind} from './binding';
|
import {Binding, BindingBuilder, bind} from './binding';
|
||||||
import {ProviderError, NoProviderError, InvalidBindingError,
|
import {ProviderError, NoProviderError, InvalidBindingError,
|
||||||
AsyncBindingError, CyclicDependencyError, InstantiationError} from './exceptions';
|
AsyncBindingError, CyclicDependencyError, InstantiationError} from './exceptions';
|
||||||
import {FunctionWrapper, Type, isPresent, isBlank} from 'facade/src/lang';
|
import {FunctionWrapper, Type, isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {Promise, PromiseWrapper} from 'facade/src/async';
|
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
|
||||||
import {Key} from './key';
|
import {Key} from './key';
|
||||||
|
|
||||||
var _constructing = new Object();
|
var _constructing = new Object();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {KeyMetadataError} from './exceptions';
|
import {KeyMetadataError} from './exceptions';
|
||||||
import {MapWrapper, Map} from 'facade/src/collection';
|
import {MapWrapper, Map} from 'angular2/src/facade/collection';
|
||||||
import {FIELD, int, isPresent} from 'facade/src/lang';
|
import {FIELD, int, isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class Key {
|
export class Key {
|
||||||
token;
|
token;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Template} from 'core/src/annotations/annotations';
|
import {Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {isBlank} from 'facade/src/lang';
|
import {isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
@Template({
|
@Template({
|
||||||
selector: '[ng-if]',
|
selector: '[ng-if]',
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {Decorator} from 'core/src/annotations/annotations';
|
import {Decorator} from 'angular2/src/core/annotations/annotations';
|
||||||
|
|
||||||
@Decorator({
|
@Decorator({
|
||||||
selector: '[ng-non-bindable]',
|
selector: '[ng-non-bindable]',
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import {Template} from 'core/src/annotations/annotations';
|
import {Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {OnChange} from 'core/src/compiler/interfaces';
|
import {OnChange} from 'angular2/src/core/compiler/interfaces';
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {View} from 'core/src/compiler/view';
|
import {View} from 'angular2/src/core/compiler/view';
|
||||||
import {isPresent, isBlank} from 'facade/src/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper} from 'facade/src/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
@Template({
|
@Template({
|
||||||
selector: '[ng-repeat]',
|
selector: '[ng-repeat]',
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {Decorator, Template} from 'core/src/annotations/annotations';
|
import {Decorator, Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {isPresent, isBlank} from 'facade/src/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, List, MapWrapper, Map} from 'facade/src/collection';
|
import {ListWrapper, List, MapWrapper, Map} from 'angular2/src/facade/collection';
|
||||||
import {Parent} from 'core/src/annotations/visibility';
|
import {Parent} from 'angular2/src/core/annotations/visibility';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The `ngSwitch` directive is used to conditionally swap DOM structure on your template based on a
|
* The `ngSwitch` directive is used to conditionally swap DOM structure on your template based on a
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {int} from 'facade/src/lang';
|
import {int} from 'angular2/src/facade/lang';
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
export var Promise = window.Promise;
|
export var Promise = window.Promise;
|
||||||
|
|
||||||
export class PromiseWrapper {
|
export class PromiseWrapper {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {int, isJsObject} from 'facade/src/lang';
|
import {int, isJsObject} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export var List = window.Array;
|
export var List = window.Array;
|
||||||
export var Map = window.Map;
|
export var Map = window.Map;
|
||||||
|
|
|
@ -9,7 +9,7 @@ export var document = window.document;
|
||||||
export var location = window.location;
|
export var location = window.location;
|
||||||
export var gc = window.gc ? () => window.gc() : () => null;
|
export var gc = window.gc ? () => window.gc() : () => null;
|
||||||
|
|
||||||
import {List, MapWrapper, ListWrapper} from 'facade/src/collection';
|
import {List, MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export class DOM {
|
export class DOM {
|
||||||
static query(selector) {
|
static query(selector) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ library reflection.reflection;
|
||||||
import 'reflector.dart';
|
import 'reflector.dart';
|
||||||
import 'types.dart';
|
import 'types.dart';
|
||||||
export 'reflector.dart';
|
export 'reflector.dart';
|
||||||
import 'package:facade/src/lang.dart';
|
import 'package:angular2/src/facade/lang.dart';
|
||||||
|
|
||||||
class NoReflectionCapabilities {
|
class NoReflectionCapabilities {
|
||||||
Function factory(Type type){
|
Function factory(Type type){
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Type, isPresent} from 'facade/src/lang';
|
import {Type, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Reflector} from './reflector';
|
import {Reflector} from './reflector';
|
||||||
export {Reflector} from './reflector';
|
export {Reflector} from './reflector';
|
||||||
import {ReflectionCapabilities} from './reflection_capabilities';
|
import {ReflectionCapabilities} from './reflection_capabilities';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Type, isPresent} from 'facade/src/lang';
|
import {Type, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {GetterFn, SetterFn, MethodFn} from './types';
|
import {GetterFn, SetterFn, MethodFn} from './types';
|
||||||
|
|
||||||
export class ReflectionCapabilities {
|
export class ReflectionCapabilities {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Type, isPresent, stringify, BaseException} from 'facade/src/lang';
|
import {Type, isPresent, stringify, BaseException} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, Map, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, Map, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {SetterFn, GetterFn, MethodFn} from './types';
|
import {SetterFn, GetterFn, MethodFn} from './types';
|
||||||
export {SetterFn, GetterFn, MethodFn} from './types';
|
export {SetterFn, GetterFn, MethodFn} from './types';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {DOM, document, location} from 'facade/src/dom';
|
import {DOM, document, location} from 'angular2/src/facade/dom';
|
||||||
import {NumberWrapper, BaseException, isBlank} from 'facade/src/lang';
|
import {NumberWrapper, BaseException, isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export function getIntParameter(name:string) {
|
export function getIntParameter(name:string) {
|
||||||
return NumberWrapper.parseInt(getStringParameter(name), 10);
|
return NumberWrapper.parseInt(getStringParameter(name), 10);
|
|
@ -5,9 +5,9 @@ export 'package:guinness/guinness_html.dart';
|
||||||
import 'package:unittest/unittest.dart' hide expect;
|
import 'package:unittest/unittest.dart' hide expect;
|
||||||
import 'dart:mirrors';
|
import 'dart:mirrors';
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'package:reflection/src/reflection.dart';
|
import 'package:angular2/src/reflection/reflection.dart';
|
||||||
import 'package:facade/src/dom.dart';
|
import 'package:angular2/src/facade/dom.dart';
|
||||||
import 'package:reflection/src/reflection_capabilities.dart';
|
import 'package:angular2/src/reflection/reflection_capabilities.dart';
|
||||||
|
|
||||||
bool IS_DARTIUM = true;
|
bool IS_DARTIUM = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
export var describe = window.describe;
|
export var describe = window.describe;
|
||||||
export var xdescribe = window.xdescribe;
|
export var xdescribe = window.xdescribe;
|
|
@ -1,6 +1,6 @@
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export class Log {
|
export class Log {
|
||||||
_result:List;
|
_result:List;
|
|
@ -1,8 +1,8 @@
|
||||||
import {describe, it, iit, xit, expect, beforeEach, afterEach} from 'test_lib/test_lib';
|
import {describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
|
||||||
import {ArrayChanges} from 'change_detection/src/array_changes';
|
import {ArrayChanges} from 'angular2/src/change_detection/array_changes';
|
||||||
|
|
||||||
import {NumberWrapper} from 'facade/src/lang';
|
import {NumberWrapper} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {TestIterable} from './iterable';
|
import {TestIterable} from './iterable';
|
||||||
import {arrayChangesAsString} from './util';
|
import {arrayChangesAsString} from './util';
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, IS_DARTIUM} from 'test_lib/test_lib';
|
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, IS_DARTIUM} from 'angular2/test_lib';
|
||||||
|
|
||||||
import {isPresent, isBlank, isJsObject, BaseException, FunctionWrapper} from 'facade/src/lang';
|
import {isPresent, isBlank, isJsObject, BaseException, FunctionWrapper} from 'angular2/src/facade/lang';
|
||||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {Parser} from 'change_detection/src/parser/parser';
|
import {Parser} from 'angular2/src/change_detection/parser/parser';
|
||||||
import {Lexer} from 'change_detection/src/parser/lexer';
|
import {Lexer} from 'angular2/src/change_detection/parser/lexer';
|
||||||
import {reflector} from 'reflection/src/reflection';
|
import {reflector} from 'angular2/src/reflection/reflection';
|
||||||
import {arrayChangesAsString, kvChangesAsString} from './util';
|
import {arrayChangesAsString, kvChangesAsString} from './util';
|
||||||
|
|
||||||
import {ChangeDispatcher, DynamicChangeDetector, ChangeDetectionError, ContextWithVariableBindings,
|
import {ChangeDispatcher, DynamicChangeDetector, ChangeDetectionError, ContextWithVariableBindings,
|
||||||
CHECK_ALWAYS, CHECK_ONCE, CHECKED, DETACHED} from 'change_detection/change_detection';
|
CHECK_ALWAYS, CHECK_ONCE, CHECKED, DETACHED} from 'angular2/change_detection';
|
||||||
|
|
||||||
|
|
||||||
import {JitProtoChangeDetector, DynamicProtoChangeDetector} from 'change_detection/src/proto_change_detector';
|
import {JitProtoChangeDetector, DynamicProtoChangeDetector} from 'angular2/src/change_detection/proto_change_detector';
|
||||||
import {ChangeDetectionUtil} from 'change_detection/src/change_detection_util';
|
import {ChangeDetectionUtil} from 'angular2/src/change_detection/change_detection_util';
|
||||||
|
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from 'test_lib/test_lib';
|
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
|
||||||
|
|
||||||
import {coalesce} from 'change_detection/src/coalesce';
|
import {coalesce} from 'angular2/src/change_detection/coalesce';
|
||||||
import {RECORD_TYPE_SELF, ProtoRecord} from 'change_detection/src/proto_change_detector';
|
import {RECORD_TYPE_SELF, ProtoRecord} from 'angular2/src/change_detection/proto_change_detector';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
function r(funcOrValue, args, contextIndex, selfIndex, lastInBinding = false) {
|
function r(funcOrValue, args, contextIndex, selfIndex, lastInBinding = false) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {describe, it, iit, xit, expect, beforeEach, afterEach} from 'test_lib/test_lib';
|
import {describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
|
||||||
import {KeyValueChanges} from 'change_detection/src/keyvalue_changes';
|
import {KeyValueChanges} from 'angular2/src/change_detection/keyvalue_changes';
|
||||||
import {NumberWrapper, isJsObject} from 'facade/src/lang';
|
import {NumberWrapper, isJsObject} from 'angular2/src/facade/lang';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {kvChangesAsString} from './util';
|
import {kvChangesAsString} from './util';
|
||||||
|
|
||||||
// todo(vicb): Update the code & tests for object equality
|
// todo(vicb): Update the code & tests for object equality
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'test_lib/test_lib';
|
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'angular2/test_lib';
|
||||||
|
|
||||||
import {ContextWithVariableBindings} from 'change_detection/src/parser/context_with_variable_bindings';
|
import {ContextWithVariableBindings} from 'angular2/src/change_detection/parser/context_with_variable_bindings';
|
||||||
|
|
||||||
import {BaseException, isBlank, isPresent} from 'facade/src/lang';
|
import {BaseException, isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {MapWrapper, ListWrapper} from 'facade/src/collection';
|
import {MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('ContextWithVariableBindings', () => {
|
describe('ContextWithVariableBindings', () => {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import {describe, it, expect} from 'test_lib/test_lib';
|
import {describe, it, expect} from 'angular2/test_lib';
|
||||||
|
|
||||||
import {Lexer, Token} from 'change_detection/src/parser/lexer';
|
import {Lexer, Token} from 'angular2/src/change_detection/parser/lexer';
|
||||||
|
|
||||||
import {List, ListWrapper} from "facade/src/collection";
|
import {List, ListWrapper} from "angular2/src/facade/collection";
|
||||||
import {StringWrapper, int} from "facade/src/lang";
|
import {StringWrapper, int} from "angular2/src/facade/lang";
|
||||||
|
|
||||||
function lex(text:string):List {
|
function lex(text:string):List {
|
||||||
return new Lexer().tokenize(text);
|
return new Lexer().tokenize(text);
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'test_lib/test_lib';
|
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'angular2/test_lib';
|
||||||
import {BaseException, isBlank, isPresent} from 'facade/src/lang';
|
import {BaseException, isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {reflector} from 'reflection/src/reflection';
|
import {reflector} from 'angular2/src/reflection/reflection';
|
||||||
import {MapWrapper, ListWrapper} from 'facade/src/collection';
|
import {MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Parser} from 'change_detection/src/parser/parser';
|
import {Parser} from 'angular2/src/change_detection/parser/parser';
|
||||||
import {Lexer} from 'change_detection/src/parser/lexer';
|
import {Lexer} from 'angular2/src/change_detection/parser/lexer';
|
||||||
import {ContextWithVariableBindings} from 'change_detection/src/parser/context_with_variable_bindings';
|
import {ContextWithVariableBindings} from 'angular2/src/change_detection/parser/context_with_variable_bindings';
|
||||||
import {Formatter, LiteralPrimitive} from 'change_detection/src/parser/ast';
|
import {Formatter, LiteralPrimitive} from 'angular2/src/change_detection/parser/ast';
|
||||||
|
|
||||||
class TestData {
|
class TestData {
|
||||||
a;
|
a;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isBlank} from 'facade/src/lang';
|
import {isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export function arrayChangesAsString({collection, previous, additions, moves, removals}) {
|
export function arrayChangesAsString({collection, previous, additions, moves, removals}) {
|
||||||
if (isBlank(collection)) collection = [];
|
if (isBlank(collection)) collection = [];
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach} from 'test_lib/test_lib';
|
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach} from 'angular2/test_lib';
|
||||||
import {bootstrap, appDocumentToken, appElementToken}
|
import {bootstrap, appDocumentToken, appElementToken}
|
||||||
from 'core/src/application';
|
from 'angular2/src/core/application';
|
||||||
import {Component} from 'core/src/annotations/annotations';
|
import {Component} from 'angular2/src/core/annotations/annotations';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {ListWrapper} from 'facade/src/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {PromiseWrapper} from 'facade/src/async';
|
import {PromiseWrapper} from 'angular2/src/facade/async';
|
||||||
import {bind, Inject} from 'di/di';
|
import {bind, Inject} from 'angular2/di';
|
||||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
import {TemplateConfig} from 'angular2/src/core/annotations/template_config';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'hello-app',
|
selector: 'hello-app',
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
import {describe, beforeEach, it, expect, ddescribe, iit, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, ddescribe, iit, el} from 'angular2/test_lib';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {List} from 'facade/src/collection';
|
import {List} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
|
import {Compiler, CompilerCache} from 'angular2/src/core/compiler/compiler';
|
||||||
import {ProtoView} from 'core/src/compiler/view';
|
import {ProtoView} from 'angular2/src/core/compiler/view';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {TemplateLoader} from 'core/src/compiler/template_loader';
|
import {TemplateLoader} from 'angular2/src/core/compiler/template_loader';
|
||||||
import {Component} from 'core/src/annotations/annotations';
|
import {Component} from 'angular2/src/core/annotations/annotations';
|
||||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
import {TemplateConfig} from 'angular2/src/core/annotations/template_config';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step'
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
|
|
||||||
import {Lexer, Parser, dynamicChangeDetection} from 'change_detection/change_detection';
|
import {Lexer, Parser, dynamicChangeDetection} from 'angular2/change_detection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('compiler', function() {
|
describe('compiler', function() {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {ddescribe, describe, it, iit, expect, beforeEach} from 'test_lib/test_lib';
|
import {ddescribe, describe, it, iit, expect, beforeEach} from 'angular2/test_lib';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {Decorator, Component} from 'core/src/annotations/annotations';
|
import {Decorator, Component} from 'angular2/src/core/annotations/annotations';
|
||||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
import {TemplateConfig} from 'angular2/src/core/annotations/template_config';
|
||||||
import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
|
import {DirectiveMetadata} from 'angular2/src/core/compiler/directive_metadata';
|
||||||
import {ShadowDomStrategy, ShadowDomNative} from 'core/src/compiler/shadow_dom';
|
import {ShadowDomStrategy, ShadowDomNative} from 'angular2/src/core/compiler/shadow_dom';
|
||||||
import {CONST} from 'facade/src/lang';
|
import {CONST} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
|
|
||||||
class FakeShadowDomStrategy extends ShadowDomStrategy {
|
class FakeShadowDomStrategy extends ShadowDomStrategy {
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach, SpyObject} from 'test_lib/test_lib';
|
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach, SpyObject} from 'angular2/test_lib';
|
||||||
import {isBlank, isPresent, FIELD, IMPLEMENTS, proxy} from 'facade/src/lang';
|
import {isBlank, isPresent, FIELD, IMPLEMENTS, proxy} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, MapWrapper, List} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper, List} from 'angular2/src/facade/collection';
|
||||||
import {ProtoElementInjector, PreBuiltObjects, DirectiveBinding} from 'core/src/compiler/element_injector';
|
import {ProtoElementInjector, PreBuiltObjects, DirectiveBinding} from 'angular2/src/core/compiler/element_injector';
|
||||||
import {Parent, Ancestor} from 'core/src/annotations/visibility';
|
import {Parent, Ancestor} from 'angular2/src/core/annotations/visibility';
|
||||||
import {EventEmitter} from 'core/src/annotations/events';
|
import {EventEmitter} from 'angular2/src/core/annotations/events';
|
||||||
import {onDestroy} from 'core/src/annotations/annotations';
|
import {onDestroy} from 'angular2/src/core/annotations/annotations';
|
||||||
import {Injector, Inject, bind} from 'di/di';
|
import {Injector, Inject, bind} from 'angular2/di';
|
||||||
import {View} from 'core/src/compiler/view';
|
import {View} from 'angular2/src/core/compiler/view';
|
||||||
import {ProtoRecordRange} from 'change_detection/change_detection';
|
import {ProtoRecordRange} from 'angular2/change_detection';
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
|
import {LightDom, SourceLightDom, DestinationLightDom} from 'angular2/src/core/compiler/shadow_dom_emulation/light_dom';
|
||||||
import {Directive} from 'core/src/annotations/annotations';
|
import {Directive} from 'angular2/src/core/annotations/annotations';
|
||||||
import {BindingPropagationConfig} from 'core/src/compiler/binding_propagation_config';
|
import {BindingPropagationConfig} from 'angular2/src/core/compiler/binding_propagation_config';
|
||||||
|
|
||||||
@proxy
|
@proxy
|
||||||
@IMPLEMENTS(View)
|
@IMPLEMENTS(View)
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
import {describe, xit, it, expect, beforeEach, ddescribe, iit, el} from 'test_lib/test_lib';
|
import {describe, xit, it, expect, beforeEach, ddescribe, iit, el} from 'angular2/test_lib';
|
||||||
|
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {Injector} from 'di/di';
|
import {Injector} from 'angular2/di';
|
||||||
import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'change_detection/change_detection';
|
import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
|
import {Compiler, CompilerCache} from 'angular2/src/core/compiler/compiler';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {ShadowDomEmulated} from 'core/src/compiler/shadow_dom';
|
import {ShadowDomEmulated} from 'angular2/src/core/compiler/shadow_dom';
|
||||||
|
|
||||||
import {Decorator, Component, Template} from 'core/src/annotations/annotations';
|
import {Decorator, Component, Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
import {TemplateConfig} from 'angular2/src/core/annotations/template_config';
|
||||||
|
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('integration tests', function() {
|
describe('integration tests', function() {
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DirectiveParser} from 'core/src/compiler/pipeline/directive_parser';
|
import {DirectiveParser} from 'angular2/src/core/compiler/pipeline/directive_parser';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step';
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {Component} from 'core/src/annotations/annotations';
|
import {Component} from 'angular2/src/core/annotations/annotations';
|
||||||
import {Decorator} from 'core/src/annotations/annotations';
|
import {Decorator} from 'angular2/src/core/annotations/annotations';
|
||||||
import {Template} from 'core/src/annotations/annotations';
|
import {Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
import {TemplateConfig} from 'angular2/src/core/annotations/template_config';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {Lexer, Parser} from 'change_detection/change_detection';
|
import {Lexer, Parser} from 'angular2/change_detection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('DirectiveParser', () => {
|
describe('DirectiveParser', () => {
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {ElementBinderBuilder} from 'core/src/compiler/pipeline/element_binder_builder';
|
import {ElementBinderBuilder} from 'angular2/src/core/compiler/pipeline/element_binder_builder';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step'
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
|
|
||||||
import {Decorator} from 'core/src/annotations/annotations';
|
import {Decorator} from 'angular2/src/core/annotations/annotations';
|
||||||
import {Template} from 'core/src/annotations/annotations';
|
import {Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {Component} from 'core/src/annotations/annotations';
|
import {Component} from 'angular2/src/core/annotations/annotations';
|
||||||
import {ProtoView, ElementPropertyMemento, DirectivePropertyMemento} from 'core/src/compiler/view';
|
import {ProtoView, ElementPropertyMemento, DirectivePropertyMemento} from 'angular2/src/core/compiler/view';
|
||||||
import {ProtoElementInjector} from 'core/src/compiler/element_injector';
|
import {ProtoElementInjector} from 'angular2/src/core/compiler/element_injector';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
|
|
||||||
import {ChangeDetector, Lexer, Parser, DynamicProtoChangeDetector,
|
import {ChangeDetector, Lexer, Parser, DynamicProtoChangeDetector,
|
||||||
} from 'change_detection/change_detection';
|
} from 'angular2/change_detection';
|
||||||
import {Injector} from 'di/di';
|
import {Injector} from 'angular2/di';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('ElementBinderBuilder', () => {
|
describe('ElementBinderBuilder', () => {
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {ElementBindingMarker} from 'core/src/compiler/pipeline/element_binding_marker';
|
import {ElementBindingMarker} from 'angular2/src/core/compiler/pipeline/element_binding_marker';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step'
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {Template, Decorator, Component} from 'core/src/annotations/annotations';
|
import {Template, Decorator, Component} from 'angular2/src/core/annotations/annotations';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('ElementBindingMarker', () => {
|
describe('ElementBindingMarker', () => {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {ListWrapper, List, MapWrapper} from 'facade/src/collection';
|
import {ListWrapper, List, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {isPresent, NumberWrapper, StringWrapper} from 'facade/src/lang';
|
import {isPresent, NumberWrapper, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step'
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('compile_pipeline', () => {
|
describe('compile_pipeline', () => {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {PropertyBindingParser} from 'core/src/compiler/pipeline/property_binding_parser';
|
import {PropertyBindingParser} from 'angular2/src/core/compiler/pipeline/property_binding_parser';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {Lexer, Parser} from 'change_detection/change_detection';
|
import {Lexer, Parser} from 'angular2/change_detection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('PropertyBindingParser', () => {
|
describe('PropertyBindingParser', () => {
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {isPresent, isBlank} from 'facade/src/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {List, ListWrapper} from 'facade/src/collection';
|
import {List, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {ProtoElementInjectorBuilder} from 'core/src/compiler/pipeline/proto_element_injector_builder';
|
import {ProtoElementInjectorBuilder} from 'angular2/src/core/compiler/pipeline/proto_element_injector_builder';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step'
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
import {ProtoView} from 'core/src/compiler/view';
|
import {ProtoView} from 'angular2/src/core/compiler/view';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {Template, Decorator, Component} from 'core/src/annotations/annotations';
|
import {Template, Decorator, Component} from 'angular2/src/core/annotations/annotations';
|
||||||
import {ProtoElementInjector} from 'core/src/compiler/element_injector';
|
import {ProtoElementInjector} from 'angular2/src/core/compiler/element_injector';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('ProtoElementInjectorBuilder', () => {
|
describe('ProtoElementInjectorBuilder', () => {
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {dynamicChangeDetection} from 'change_detection/change_detection';
|
import {dynamicChangeDetection} from 'angular2/change_detection';
|
||||||
import {ElementBinder} from 'core/src/compiler/element_binder';
|
import {ElementBinder} from 'angular2/src/core/compiler/element_binder';
|
||||||
import {ProtoViewBuilder} from 'core/src/compiler/pipeline/proto_view_builder';
|
import {ProtoViewBuilder} from 'angular2/src/core/compiler/pipeline/proto_view_builder';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
import {CompileElement} from 'angular2/src/core/compiler/pipeline/compile_element';
|
||||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
import {CompileStep} from 'angular2/src/core/compiler/pipeline/compile_step'
|
||||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
import {CompileControl} from 'angular2/src/core/compiler/pipeline/compile_control';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('ProtoViewBuilder', () => {
|
describe('ProtoViewBuilder', () => {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {describe, beforeEach, expect, it, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, expect, it, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {TextInterpolationParser} from 'core/src/compiler/pipeline/text_interpolation_parser';
|
import {TextInterpolationParser} from 'angular2/src/core/compiler/pipeline/text_interpolation_parser';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {Lexer, Parser} from 'change_detection/change_detection';
|
import {Lexer, Parser} from 'angular2/change_detection';
|
||||||
import {IgnoreChildrenStep} from './pipeline_spec';
|
import {IgnoreChildrenStep} from './pipeline_spec';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'angular2/test_lib';
|
||||||
import {isPresent} from 'facade/src/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {MapWrapper} from 'facade/src/collection';
|
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {ViewSplitter} from 'core/src/compiler/pipeline/view_splitter';
|
import {ViewSplitter} from 'angular2/src/core/compiler/pipeline/view_splitter';
|
||||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
import {CompilePipeline} from 'angular2/src/core/compiler/pipeline/compile_pipeline';
|
||||||
import {DOM, TemplateElement} from 'facade/src/dom';
|
import {DOM, TemplateElement} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {Lexer, Parser} from 'change_detection/change_detection';
|
import {Lexer, Parser} from 'angular2/change_detection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('ViewSplitter', () => {
|
describe('ViewSplitter', () => {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {describe, it, expect, beforeEach, ddescribe, iit, xit, el} from 'test_lib/test_lib';
|
import {describe, it, expect, beforeEach, ddescribe, iit, xit, el} from 'angular2/test_lib';
|
||||||
import {SelectorMatcher} from 'core/src/compiler/selector';
|
import {SelectorMatcher} from 'angular2/src/core/compiler/selector';
|
||||||
import {CssSelector} from 'core/src/compiler/selector';
|
import {CssSelector} from 'angular2/src/core/compiler/selector';
|
||||||
import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {List, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('SelectorMatcher', () => {
|
describe('SelectorMatcher', () => {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import {describe, beforeEach, it, expect, ddescribe, iit, SpyObject, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, ddescribe, iit, SpyObject, el} from 'angular2/test_lib';
|
||||||
import {proxy, IMPLEMENTS} from 'facade/src/lang';
|
import {proxy, IMPLEMENTS} from 'angular2/src/facade/lang';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {Content} from 'core/src/compiler/shadow_dom_emulation/content_tag';
|
import {Content} from 'angular2/src/core/compiler/shadow_dom_emulation/content_tag';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
import {LightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
|
import {LightDom} from 'angular2/src/core/compiler/shadow_dom_emulation/light_dom';
|
||||||
|
|
||||||
@proxy
|
@proxy
|
||||||
@IMPLEMENTS(LightDom)
|
@IMPLEMENTS(LightDom)
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
import {describe, beforeEach, it, expect, ddescribe, iit, SpyObject, el} from 'test_lib/test_lib';
|
import {describe, beforeEach, it, expect, ddescribe, iit, SpyObject, el} from 'angular2/test_lib';
|
||||||
import {proxy, IMPLEMENTS, isBlank} from 'facade/src/lang';
|
import {proxy, IMPLEMENTS, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
import {Content} from 'core/src/compiler/shadow_dom_emulation/content_tag';
|
import {Content} from 'angular2/src/core/compiler/shadow_dom_emulation/content_tag';
|
||||||
import {NgElement} from 'core/src/dom/element';
|
import {NgElement} from 'angular2/src/core/dom/element';
|
||||||
import {LightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
|
import {LightDom} from 'angular2/src/core/compiler/shadow_dom_emulation/light_dom';
|
||||||
import {View} from 'core/src/compiler/view';
|
import {View} from 'angular2/src/core/compiler/view';
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {ElementInjector} from 'core/src/compiler/element_injector';
|
import {ElementInjector} from 'angular2/src/core/compiler/element_injector';
|
||||||
import {ProtoRecordRange} from 'change_detection/change_detection';
|
import {ProtoRecordRange} from 'angular2/change_detection';
|
||||||
|
|
||||||
@proxy
|
@proxy
|
||||||
@IMPLEMENTS(ElementInjector)
|
@IMPLEMENTS(ElementInjector)
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
import {describe, xit, it, expect, beforeEach, ddescribe, iit, el} from 'test_lib/test_lib';
|
import {describe, xit, it, expect, beforeEach, ddescribe, iit, el} from 'angular2/test_lib';
|
||||||
|
|
||||||
import {DOM} from 'facade/src/dom';
|
import {DOM} from 'angular2/src/facade/dom';
|
||||||
|
|
||||||
import {Injector} from 'di/di';
|
import {Injector} from 'angular2/di';
|
||||||
import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'change_detection/change_detection';
|
import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'angular2/change_detection';
|
||||||
|
|
||||||
import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
|
import {Compiler, CompilerCache} from 'angular2/src/core/compiler/compiler';
|
||||||
import {LifeCycle} from 'core/src/life_cycle/life_cycle';
|
import {LifeCycle} from 'angular2/src/core/life_cycle/life_cycle';
|
||||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||||
import {ShadowDomStrategy, ShadowDomNative, ShadowDomEmulated} from 'core/src/compiler/shadow_dom';
|
import {ShadowDomStrategy, ShadowDomNative, ShadowDomEmulated} from 'angular2/src/core/compiler/shadow_dom';
|
||||||
|
|
||||||
import {Decorator, Component, Template} from 'core/src/annotations/annotations';
|
import {Decorator, Component, Template} from 'angular2/src/core/annotations/annotations';
|
||||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
import {TemplateConfig} from 'angular2/src/core/annotations/template_config';
|
||||||
|
|
||||||
import {ViewPort} from 'core/src/compiler/viewport';
|
import {ViewPort} from 'angular2/src/core/compiler/viewport';
|
||||||
import {StringMapWrapper, MapWrapper} from 'facade/src/collection';
|
import {StringMapWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('integration tests', function() {
|
describe('integration tests', function() {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue