chore: update all import paths
This commit is contained in:
@ -14,7 +14,7 @@ import {
|
||||
PreGeneratedChangeDetection,
|
||||
ChangeDetectorDefinition,
|
||||
DynamicProtoChangeDetector
|
||||
} from 'angular2/src/change_detection/change_detection';
|
||||
} from 'angular2/src/core/change_detection/change_detection';
|
||||
|
||||
export function main() {
|
||||
describe("PreGeneratedChangeDetection", () => {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||
import {isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {isBlank, isPresent} from 'angular2/src/core/facade/lang';
|
||||
import {
|
||||
DEFAULT,
|
||||
ON_PUSH,
|
||||
@ -11,10 +11,10 @@ import {
|
||||
Locals,
|
||||
Parser,
|
||||
ChangeDetectorGenConfig
|
||||
} from 'angular2/src/change_detection/change_detection';
|
||||
import {ON_PUSH_OBSERVE} from 'angular2/src/change_detection/constants';
|
||||
import {reflector} from 'angular2/src/reflection/reflection';
|
||||
import {ReflectionCapabilities} from 'angular2/src/reflection/reflection_capabilities';
|
||||
} from 'angular2/src/core/change_detection/change_detection';
|
||||
import {ON_PUSH_OBSERVE} from 'angular2/src/core/change_detection/constants';
|
||||
import {reflector} from 'angular2/src/core/reflection/reflection';
|
||||
import {ReflectionCapabilities} from 'angular2/src/core/reflection/reflection_capabilities';
|
||||
|
||||
/*
|
||||
* This file defines `ChangeDetectorDefinition` objects which are used in the tests defined in
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../src/change_detection/pipe_transform.ts"/>
|
||||
///<reference path="../../../src/core/change_detection/pipe_transform.ts"/>
|
||||
import {
|
||||
ddescribe,
|
||||
describe,
|
||||
@ -19,8 +19,8 @@ import {
|
||||
isJsObject,
|
||||
BaseException,
|
||||
FunctionWrapper
|
||||
} from 'angular2/src/facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||
} from 'angular2/src/core/facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
||||
|
||||
import {
|
||||
ChangeDispatcher,
|
||||
@ -45,15 +45,15 @@ import {
|
||||
Parser,
|
||||
Locals,
|
||||
ProtoChangeDetector
|
||||
} from 'angular2/src/change_detection/change_detection';
|
||||
} from 'angular2/src/core/change_detection/change_detection';
|
||||
|
||||
import {Pipes} from 'angular2/src/change_detection/pipes';
|
||||
import {JitProtoChangeDetector} from 'angular2/src/change_detection/jit_proto_change_detector';
|
||||
import {Pipes} from 'angular2/src/core/change_detection/pipes';
|
||||
import {JitProtoChangeDetector} from 'angular2/src/core/change_detection/jit_proto_change_detector';
|
||||
|
||||
import {getDefinition} from './change_detector_config';
|
||||
import {createObservableModel} from './change_detector_spec_util';
|
||||
import {getFactoryById} from './generated/change_detector_classes';
|
||||
import {IS_DART} from '../platform';
|
||||
import {IS_DART} from '../../platform';
|
||||
|
||||
const _DEFAULT_CONTEXT = CONST_EXPR(new Object());
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
|
||||
import {isBlank} from 'angular2/src/facade/lang';
|
||||
import {isBlank} from 'angular2/src/core/facade/lang';
|
||||
|
||||
import {coalesce} from 'angular2/src/change_detection/coalesce';
|
||||
import {RecordType, ProtoRecord} from 'angular2/src/change_detection/proto_record';
|
||||
import {DirectiveIndex} from 'angular2/src/change_detection/directive_record';
|
||||
import {coalesce} from 'angular2/src/core/change_detection/coalesce';
|
||||
import {RecordType, ProtoRecord} from 'angular2/src/core/change_detection/proto_record';
|
||||
import {DirectiveIndex} from 'angular2/src/core/change_detection/directive_record';
|
||||
|
||||
export function main() {
|
||||
function r(funcOrValue, args, contextIndex, selfIndex,
|
||||
|
@ -2,13 +2,13 @@ import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from '
|
||||
import {
|
||||
DefaultIterableDiffer,
|
||||
DefaultIterableDifferFactory
|
||||
} from 'angular2/src/change_detection/differs/default_iterable_differ';
|
||||
} from 'angular2/src/core/change_detection/differs/default_iterable_differ';
|
||||
|
||||
import {NumberWrapper} from 'angular2/src/facade/lang';
|
||||
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||
import {NumberWrapper} from 'angular2/src/core/facade/lang';
|
||||
import {ListWrapper, MapWrapper} from 'angular2/src/core/facade/collection';
|
||||
|
||||
import {TestIterable} from '../iterable';
|
||||
import {iterableChangesAsString} from '../util';
|
||||
import {TestIterable} from '../../../core/change_detection/iterable';
|
||||
import {iterableChangesAsString} from '../../../core/change_detection/util';
|
||||
|
||||
// todo(vicb): UnmodifiableListView / frozen object when implemented
|
||||
export function main() {
|
||||
|
@ -2,10 +2,10 @@ import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from '
|
||||
import {
|
||||
DefaultKeyValueDiffer,
|
||||
DefaultKeyValueDifferFactory
|
||||
} from 'angular2/src/change_detection/differs/default_keyvalue_differ';
|
||||
import {NumberWrapper, isJsObject} from 'angular2/src/facade/lang';
|
||||
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||
import {kvChangesAsString} from '../util';
|
||||
} from 'angular2/src/core/change_detection/differs/default_keyvalue_differ';
|
||||
import {NumberWrapper, isJsObject} from 'angular2/src/core/facade/lang';
|
||||
import {MapWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {kvChangesAsString} from '../../../core/change_detection/util';
|
||||
|
||||
// todo(vicb): Update the code & tests for object equality
|
||||
export function main() {
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
afterEach,
|
||||
SpyIterableDifferFactory
|
||||
} from 'angular2/test_lib';
|
||||
import {IterableDiffers} from 'angular2/src/change_detection/differs/iterable_differs';
|
||||
import {IterableDiffers} from 'angular2/src/core/change_detection/differs/iterable_differs';
|
||||
import {Injector, bind} from 'angular2/di';
|
||||
|
||||
export function main() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {List} from 'angular2/src/facade/collection';
|
||||
import {List} from 'angular2/src/core/facade/collection';
|
||||
|
||||
export class TestIterable {
|
||||
list: List<number>;
|
||||
|
@ -1,9 +1,9 @@
|
||||
import {ddescribe, describe, it, expect} from 'angular2/test_lib';
|
||||
|
||||
import {Lexer, Token} from 'angular2/src/change_detection/parser/lexer';
|
||||
import {Lexer, Token} from 'angular2/src/core/change_detection/parser/lexer';
|
||||
|
||||
import {List, ListWrapper} from "angular2/src/facade/collection";
|
||||
import {StringWrapper} from "angular2/src/facade/lang";
|
||||
import {List, ListWrapper} from "angular2/src/core/facade/collection";
|
||||
import {StringWrapper} from "angular2/src/core/facade/lang";
|
||||
|
||||
function lex(text: string): List<any> {
|
||||
return new Lexer().tokenize(text);
|
||||
|
@ -1,8 +1,8 @@
|
||||
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'angular2/test_lib';
|
||||
|
||||
import {Locals} from 'angular2/src/change_detection/parser/locals';
|
||||
import {Locals} from 'angular2/src/core/change_detection/parser/locals';
|
||||
|
||||
import {MapWrapper} from 'angular2/src/facade/collection';
|
||||
import {MapWrapper} from 'angular2/src/core/facade/collection';
|
||||
|
||||
export function main() {
|
||||
describe('Locals', () => {
|
||||
|
@ -1,11 +1,11 @@
|
||||
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'angular2/test_lib';
|
||||
import {BaseException, isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||
import {reflector} from 'angular2/src/reflection/reflection';
|
||||
import {MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||
import {Parser} from 'angular2/src/change_detection/parser/parser';
|
||||
import {BaseException, isBlank, isPresent} from 'angular2/src/core/facade/lang';
|
||||
import {reflector} from 'angular2/src/core/reflection/reflection';
|
||||
import {MapWrapper, ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {Parser} from 'angular2/src/core/change_detection/parser/parser';
|
||||
import {Unparser} from './unparser';
|
||||
import {Lexer} from 'angular2/src/change_detection/parser/lexer';
|
||||
import {BindingPipe, LiteralPrimitive, AST} from 'angular2/src/change_detection/parser/ast';
|
||||
import {Lexer} from 'angular2/src/core/change_detection/parser/lexer';
|
||||
import {BindingPipe, LiteralPrimitive, AST} from 'angular2/src/core/change_detection/parser/ast';
|
||||
|
||||
class TestData {
|
||||
constructor(public a?: any, public b?: any, public fnReturnValue?: any) {}
|
||||
|
@ -21,10 +21,10 @@ import {
|
||||
PrefixNot,
|
||||
SafePropertyRead,
|
||||
SafeMethodCall
|
||||
} from 'angular2/src/change_detection/parser/ast';
|
||||
} from 'angular2/src/core/change_detection/parser/ast';
|
||||
|
||||
|
||||
import {StringWrapper, isPresent, isString} from 'angular2/src/facade/lang';
|
||||
import {StringWrapper, isPresent, isString} from 'angular2/src/core/facade/lang';
|
||||
|
||||
export class Unparser implements AstVisitor {
|
||||
private static _quoteRegExp = /"/g;
|
||||
|
@ -10,9 +10,9 @@ import {
|
||||
inject
|
||||
} from 'angular2/test_lib';
|
||||
|
||||
import {ProtoRecordBuilder} from 'angular2/src/change_detection/proto_change_detector';
|
||||
import {BindingRecord} from 'angular2/src/change_detection/binding_record';
|
||||
import {Parser} from 'angular2/src/change_detection/parser/parser';
|
||||
import {ProtoRecordBuilder} from 'angular2/src/core/change_detection/proto_change_detector';
|
||||
import {BindingRecord} from 'angular2/src/core/change_detection/binding_record';
|
||||
import {Parser} from 'angular2/src/core/change_detection/parser/parser';
|
||||
|
||||
export function main() {
|
||||
describe("ProtoRecordBuilder", () => {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
|
||||
import {isBlank} from 'angular2/src/facade/lang';
|
||||
import {isBlank} from 'angular2/src/core/facade/lang';
|
||||
|
||||
import {RecordType, ProtoRecord} from 'angular2/src/change_detection/proto_record';
|
||||
import {RecordType, ProtoRecord} from 'angular2/src/core/change_detection/proto_record';
|
||||
|
||||
export function main() {
|
||||
function r({lastInBinding, mode, name, directiveIndex, argumentToPureFunction, referencedBySelf}:
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {isBlank, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||
import {isBlank, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
||||
|
||||
export function iterableChangesAsString({collection = CONST_EXPR([]), previous = CONST_EXPR([]),
|
||||
additions = CONST_EXPR([]), moves = CONST_EXPR([]),
|
||||
|
Reference in New Issue
Block a user