refactor(build): explicitly mention `src` folder in imports
Export files are now directly under the module folder, e.g. `core/core.js`. With this, an import like `core/core` won’t need a path mapping (e.g. via `System.paths`) any more. This adds the `src` folder to all other import statements as well.
This commit is contained in:
parent
9db13be4c7
commit
05ffdc9b44
48
gulpfile.js
48
gulpfile.js
|
@ -44,7 +44,7 @@ var CJS_COMPILER_OPTIONS = {
|
|||
|
||||
var _HTLM_DEFAULT_SCRIPTS_JS = [
|
||||
{src: '/deps/traceur-runtime.js', mimeType: 'text/javascript'},
|
||||
{src: '/rtts_assert/lib/rtts_assert.js', mimeType: 'text/javascript'},
|
||||
{src: '/rtts_assert/rtts_assert.js', mimeType: 'text/javascript'},
|
||||
{src: '/deps/es6-module-loader-sans-promises.src.js', mimeType: 'text/javascript'},
|
||||
{src: '/deps/zone.js', mimeType: 'text/javascript'},
|
||||
{src: '/deps/long-stack-trace-zone.js', mimeType: 'text/javascript'},
|
||||
|
@ -78,11 +78,20 @@ var CONFIG = {
|
|||
},
|
||||
docs: 'dist/docs'
|
||||
},
|
||||
srcFolderMapping: {
|
||||
'default': 'lib',
|
||||
'**/benchmarks/**': 'web',
|
||||
'**/benchmarks_external/**': 'web',
|
||||
'**/example*/**': 'web'
|
||||
srcFolderInsertion: {
|
||||
js: {
|
||||
'**': ''
|
||||
},
|
||||
dart: {
|
||||
'**': 'lib',
|
||||
'*/test/**': '',
|
||||
'benchmarks/**': 'web',
|
||||
'benchmarks/test/**': '',
|
||||
'benchmarks_external/**': 'web',
|
||||
'benchmarks_external/test/**': '',
|
||||
'example*/**': 'web',
|
||||
'example*/test/**': ''
|
||||
}
|
||||
},
|
||||
deps: {
|
||||
js: [
|
||||
|
@ -145,7 +154,7 @@ var CONFIG = {
|
|||
},
|
||||
scriptsPerFolder: {
|
||||
js: {
|
||||
default: _HTLM_DEFAULT_SCRIPTS_JS,
|
||||
'**': _HTLM_DEFAULT_SCRIPTS_JS,
|
||||
'benchmarks/**':
|
||||
[
|
||||
{ src: '/deps/url_params_to_form.js', mimeType: 'text/javascript' }
|
||||
|
@ -157,7 +166,7 @@ var CONFIG = {
|
|||
].concat(_HTLM_DEFAULT_SCRIPTS_JS)
|
||||
},
|
||||
dart: {
|
||||
default: _HTML_DEFAULT_SCRIPTS_DART,
|
||||
'**': _HTML_DEFAULT_SCRIPTS_DART,
|
||||
'benchmarks*/**':
|
||||
[
|
||||
{ src: '/deps/url_params_to_form.js', mimeType: 'text/javascript' }
|
||||
|
@ -221,7 +230,7 @@ gulp.task('build/transpile.js.dev', transpile(gulp, gulpPlugins, {
|
|||
dest: CONFIG.dest.js.dev,
|
||||
outputExt: 'js',
|
||||
options: CONFIG.transpile.options.js.dev,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.js
|
||||
}));
|
||||
|
||||
gulp.task('build/transpile.js.prod', transpile(gulp, gulpPlugins, {
|
||||
|
@ -230,7 +239,7 @@ gulp.task('build/transpile.js.prod', transpile(gulp, gulpPlugins, {
|
|||
dest: CONFIG.dest.js.prod,
|
||||
outputExt: 'js',
|
||||
options: CONFIG.transpile.options.js.prod,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.js
|
||||
}));
|
||||
|
||||
gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
|
||||
|
@ -239,7 +248,7 @@ gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
|
|||
dest: CONFIG.dest.dart,
|
||||
outputExt: 'dart',
|
||||
options: CONFIG.transpile.options.dart,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.dart
|
||||
}));
|
||||
|
||||
gulp.task('build/transpile/tools.cjs', transpile(gulp, gulpPlugins, {
|
||||
|
@ -248,9 +257,7 @@ gulp.task('build/transpile/tools.cjs', transpile(gulp, gulpPlugins, {
|
|||
dest: CONFIG.dest.cjs.tools,
|
||||
outputExt: 'js',
|
||||
options: CONFIG.transpile.options.cjs,
|
||||
srcFolderMapping: {
|
||||
'default': 'src'
|
||||
}
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.js
|
||||
}));
|
||||
|
||||
gulp.task('build/transpile/e2eTest.cjs', transpile(gulp, gulpPlugins, {
|
||||
|
@ -259,9 +266,7 @@ gulp.task('build/transpile/e2eTest.cjs', transpile(gulp, gulpPlugins, {
|
|||
dest: CONFIG.dest.cjs.e2eTest,
|
||||
outputExt: 'js',
|
||||
options: CONFIG.transpile.options.cjs,
|
||||
srcFolderMapping: {
|
||||
'default': 'src'
|
||||
}
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.js
|
||||
}));
|
||||
|
||||
// ------------
|
||||
|
@ -270,21 +275,21 @@ gulp.task('build/transpile/e2eTest.cjs', transpile(gulp, gulpPlugins, {
|
|||
gulp.task('build/html.js.dev', html(gulp, gulpPlugins, {
|
||||
src: CONFIG.html.src.js,
|
||||
dest: CONFIG.dest.js.dev,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping,
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.js,
|
||||
scriptsPerFolder: CONFIG.html.scriptsPerFolder.js
|
||||
}));
|
||||
|
||||
gulp.task('build/html.js.prod', html(gulp, gulpPlugins, {
|
||||
src: CONFIG.html.src.js,
|
||||
dest: CONFIG.dest.js.prod,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping,
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.js,
|
||||
scriptsPerFolder: CONFIG.html.scriptsPerFolder.js
|
||||
}));
|
||||
|
||||
gulp.task('build/html.dart', html(gulp, gulpPlugins, {
|
||||
src: CONFIG.html.src.dart,
|
||||
dest: CONFIG.dest.dart,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping,
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.dart,
|
||||
scriptsPerFolder: CONFIG.html.scriptsPerFolder.dart
|
||||
}));
|
||||
|
||||
|
@ -302,8 +307,7 @@ gulp.task('build/pubspec.dart', pubspec(gulp, gulpPlugins, {
|
|||
|
||||
gulp.task('build/analyze.dart', dartanalyzer(gulp, gulpPlugins, {
|
||||
dest: CONFIG.dest.dart,
|
||||
command: DART_SDK.ANALYZER,
|
||||
srcFolderMapping: CONFIG.srcFolderMapping
|
||||
command: DART_SDK.ANALYZER
|
||||
}));
|
||||
|
||||
// ------------
|
||||
|
|
|
@ -42,14 +42,14 @@ module.exports = function(config) {
|
|||
'/packages/path': 'http://localhost:9877/base/packages/path',
|
||||
|
||||
// Local dependencies, transpiled from the source.
|
||||
'/packages/angular': 'http://localhost:9877/base/modules/angular/src',
|
||||
'/packages/core': 'http://localhost:9877/base/modules/core/src',
|
||||
'/packages/change_detection': 'http://localhost:9877/base/modules/change_detection/src',
|
||||
'/packages/reflection': 'http://localhost:9877/base/modules/reflection/src',
|
||||
'/packages/di': 'http://localhost:9877/base/modules/di/src',
|
||||
'/packages/directives': 'http://localhost:9877/base/modules/directives/src',
|
||||
'/packages/facade': 'http://localhost:9877/base/modules/facade/src',
|
||||
'/packages/test_lib': 'http://localhost:9877/base/modules/test_lib/src',
|
||||
'/packages/angular': 'http://localhost:9877/base/modules/angular',
|
||||
'/packages/core': 'http://localhost:9877/base/modules/core',
|
||||
'/packages/change_detection': 'http://localhost:9877/base/modules/change_detection',
|
||||
'/packages/reflection': 'http://localhost:9877/base/modules/reflection',
|
||||
'/packages/di': 'http://localhost:9877/base/modules/di',
|
||||
'/packages/directives': 'http://localhost:9877/base/modules/directives',
|
||||
'/packages/facade': 'http://localhost:9877/base/modules/facade',
|
||||
'/packages/test_lib': 'http://localhost:9877/base/modules/test_lib',
|
||||
},
|
||||
|
||||
preprocessors: {
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng2 change detection benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/change_detection/change_detection_benchmark.html';
|
||||
var URL = 'benchmarks/src/change_detection/change_detection_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng2 change detection benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/change_detection/change_detection_benchmark.html';
|
||||
var URL = 'benchmarks/src/change_detection/change_detection_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng2 compiler benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/compiler/compiler_benchmark.html';
|
||||
var URL = 'benchmarks/src/compiler/compiler_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng2 compiler benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/compiler/compiler_benchmark.html';
|
||||
var URL = 'benchmarks/src/compiler/compiler_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng2 di benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/di/di_benchmark.html';
|
||||
var URL = 'benchmarks/src/di/di_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng2 di benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/di/di_benchmark.html';
|
||||
var URL = 'benchmarks/src/di/di_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng2 element injector benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/element_injector/element_injector_benchmark.html';
|
||||
var URL = 'benchmarks/src/element_injector/element_injector_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng2 element injector benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/element_injector/element_injector_benchmark.html';
|
||||
var URL = 'benchmarks/src/element_injector/element_injector_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng2 selector benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/compiler/selector_benchmark.html';
|
||||
var URL = 'benchmarks/src/compiler/selector_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng2 selector benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/compiler/selector_benchmark.html';
|
||||
var URL = 'benchmarks/src/compiler/selector_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng2 tree benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/tree/tree_benchmark.html';
|
||||
var URL = 'benchmarks/src/tree/tree_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng2 tree benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks/web/tree/tree_benchmark.html';
|
||||
var URL = 'benchmarks/src/tree/tree_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {isPresent} from 'facade/lang';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
import {
|
||||
Lexer,
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
import {DOM, document} from 'facade/dom';
|
||||
import {isBlank, Type} from 'facade/lang';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {DirectiveMetadata} from 'core/compiler/directive_metadata';
|
||||
import {DOM, document} from 'facade/src/dom';
|
||||
import {isBlank, Type} from 'facade/src/lang';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
|
||||
|
||||
import {Parser, Lexer, ProtoRecordRange, dynamicChangeDetection} from 'change_detection/change_detection';
|
||||
|
||||
import {Compiler, CompilerCache} from 'core/compiler/compiler';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
|
||||
import {Component} from 'core/annotations/annotations';
|
||||
import {Decorator} from 'core/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/annotations/template_config';
|
||||
import {Component} from 'core/src/annotations/annotations';
|
||||
import {Decorator} from 'core/src/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
||||
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
function setupReflector() {
|
||||
reflector.registerType(BenchmarkComponent, {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {SelectorMatcher} from "core/compiler/selector";
|
||||
import {CssSelector} from "core/compiler/selector";
|
||||
import {StringWrapper, Math} from 'facade/lang';
|
||||
import {ListWrapper} from 'facade/collection';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {SelectorMatcher} from "core/src/compiler/selector";
|
||||
import {CssSelector} from "core/src/compiler/selector";
|
||||
import {StringWrapper, Math} from 'facade/src/lang';
|
||||
import {ListWrapper} from 'facade/src/collection';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
export function main() {
|
||||
var count = getIntParameter('selectors');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {Injector, Key} from "di/di";
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
var count = 0;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {reflector} from 'reflection/reflection';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {Injector} from 'di/di';
|
||||
import {ProtoElementInjector} from 'core/compiler/element_injector';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {ProtoElementInjector} from 'core/src/compiler/element_injector';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
var count = 0;
|
||||
|
||||
|
|
|
@ -3,15 +3,15 @@ import {Parser, Lexer, ChangeDetector, ChangeDetection, jitChangeDetection}
|
|||
|
||||
import {bootstrap, Component, Template, TemplateConfig, ViewPort, Compiler} from 'angular/angular';
|
||||
|
||||
import {CompilerCache} from 'core/compiler/compiler';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {TemplateLoader} from 'core/compiler/template_loader';
|
||||
import {LifeCycle} from 'core/life_cycle/life_cycle';
|
||||
import {CompilerCache} from 'core/src/compiler/compiler';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
import {TemplateLoader} from 'core/src/compiler/template_loader';
|
||||
import {LifeCycle} from 'core/src/life_cycle/life_cycle';
|
||||
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {DOM, document, window, Element, gc} from 'facade/dom';
|
||||
import {isPresent} from 'facade/lang';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {DOM, document, window, Element, gc} from 'facade/src/dom';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
function setupReflector() {
|
||||
// TODO: Put the general calls to reflector.register... in a shared file
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng1.x compiler benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks_external/web/compiler/compiler_benchmark.html';
|
||||
var URL = 'benchmarks_external/src/compiler/compiler_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng1.x compiler benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks_external/web/compiler/compiler_benchmark.html';
|
||||
var URL = 'benchmarks_external/src/compiler/compiler_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
||||
|
||||
describe('ng1.x largetable benchmark', function () {
|
||||
var URL = 'benchmarks_external/web/largetable/largetable_benchmark.html';
|
||||
var URL = 'benchmarks_external/src/largetable/largetable_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
||||
|
||||
describe('ng1.x largetable benchmark', function () {
|
||||
var URL = 'benchmarks_external/web/largetable/largetable_benchmark.html';
|
||||
var URL = 'benchmarks_external/src/largetable/largetable_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng-dart1.x naive infinite scroll benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks_external/web/naive_infinite_scroll/index.html';
|
||||
var URL = 'benchmarks_external/src/naive_infinite_scroll/index.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng-dart1.x naive infinite scroll benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks_external/web/naive_infinite_scroll/index.html';
|
||||
var URL = 'benchmarks_external/src/naive_infinite_scroll/index.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
|
|||
|
||||
describe('ng1.x tree benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks_external/web/tree/tree_benchmark.html';
|
||||
var URL = 'benchmarks_external/src/tree/tree_benchmark.html';
|
||||
|
||||
afterEach(perfUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
|
|||
|
||||
describe('ng1.x tree benchmark', function () {
|
||||
|
||||
var URL = 'benchmarks_external/web/tree/tree_benchmark.html';
|
||||
var URL = 'benchmarks_external/src/tree/tree_benchmark.html';
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
|
|
|
@ -10,5 +10,5 @@ dependencies:
|
|||
transformers:
|
||||
- angular:
|
||||
html_files:
|
||||
- web/naive_infinite_scroll/scroll_area.html
|
||||
- web/naive_infinite_scroll/scroll_item.html
|
||||
- web/src/naive_infinite_scroll/scroll_area.html
|
||||
- web/src/naive_infinite_scroll/scroll_item.html
|
||||
|
|
|
@ -4,7 +4,7 @@ library compiler_benchmark_ng10;
|
|||
import 'package:angular/angular.dart';
|
||||
import 'package:angular/application_factory.dart';
|
||||
import 'dart:html';
|
||||
import 'package:e2e_test_lib/benchmark_util.dart';
|
||||
import 'package:e2e_test_lib/src/benchmark_util.dart';
|
||||
|
||||
main() {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// compiler benchmark in AngularJS 1.x
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
export function main() {
|
||||
var ngEl = document.createElement('div');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {getIntParameter, getStringParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {getIntParameter, getStringParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
var totalRows = getIntParameter('rows');
|
||||
var totalColumns = getIntParameter('columns');
|
||||
|
|
|
@ -3,7 +3,7 @@ library scroll_app;
|
|||
import 'dart:async';
|
||||
import 'dart:html';
|
||||
import 'package:angular/angular.dart';
|
||||
import 'package:e2e_test_lib/benchmark_util.dart';
|
||||
import 'package:e2e_test_lib/src/benchmark_util.dart';
|
||||
|
||||
@Component(
|
||||
selector: 'scroll-app',
|
||||
|
|
|
@ -4,7 +4,7 @@ library tree_benchmark_ng10;
|
|||
import 'package:angular/angular.dart';
|
||||
import 'package:angular/application_factory.dart';
|
||||
import 'dart:html';
|
||||
import 'package:e2e_test_lib/benchmark_util.dart';
|
||||
import 'package:e2e_test_lib/src/benchmark_util.dart';
|
||||
|
||||
setup() {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// tree benchmark in AngularJS 1.x
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util';
|
||||
import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
|
||||
|
||||
export function main() {
|
||||
angular.bootstrap(document.querySelector('tree'), ['app']);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
export {AST} from './parser/ast';
|
||||
export {Lexer} from './parser/lexer';
|
||||
export {Parser} from './parser/parser';
|
||||
export {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||
export {AST} from './src/parser/ast';
|
||||
export {Lexer} from './src/parser/lexer';
|
||||
export {Parser} from './src/parser/parser';
|
||||
export {ContextWithVariableBindings} from './src/parser/context_with_variable_bindings';
|
||||
|
||||
export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError} from './exceptions';
|
||||
export {ChangeRecord, ChangeDispatcher, ChangeDetector} from './interfaces';
|
||||
export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './proto_change_detector';
|
||||
export {DynamicChangeDetector} from './dynamic_change_detector';
|
||||
export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError} from './src/exceptions';
|
||||
export {ChangeRecord, ChangeDispatcher, ChangeDetector} from './src/interfaces';
|
||||
export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
||||
export {DynamicChangeDetector} from './src/dynamic_change_detector';
|
||||
|
||||
import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './proto_change_detector';
|
||||
import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
||||
|
||||
export class ChangeDetection {
|
||||
createProtoChangeDetector(name:string){}
|
|
@ -1,4 +1,4 @@
|
|||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {ChangeDetector} from './interfaces';
|
||||
|
||||
export class AbstractChangeDetector extends ChangeDetector {
|
||||
|
|
|
@ -3,7 +3,7 @@ import {
|
|||
iterateListLike,
|
||||
ListWrapper,
|
||||
MapWrapper
|
||||
} from 'facade/collection';
|
||||
} from 'facade/src/collection';
|
||||
|
||||
import {
|
||||
int,
|
||||
|
@ -12,7 +12,7 @@ import {
|
|||
stringify,
|
||||
getMapKey,
|
||||
looseIdentical,
|
||||
} from 'facade/lang';
|
||||
} from 'facade/src/lang';
|
||||
|
||||
export class ArrayChanges {
|
||||
_collection;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent, isBlank, BaseException, Type} from 'facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank, BaseException, Type} from 'facade/src/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||
import {AbstractChangeDetector} from './abstract_change_detector';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent, isBlank, BaseException, Type} from 'facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank, BaseException, Type} from 'facade/src/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||
import {ArrayChanges} from './array_changes';
|
||||
import {KeyValueChanges} from './keyvalue_changes';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent} from 'facade/lang';
|
||||
import {List, ListWrapper, Map, MapWrapper} from 'facade/collection';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {List, ListWrapper, Map, MapWrapper} from 'facade/src/collection';
|
||||
import {RECORD_TYPE_SELF, ProtoRecord} from './proto_change_detector';
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent, isBlank, BaseException, FunctionWrapper} from 'facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank, BaseException, FunctionWrapper} from 'facade/src/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
import {ContextWithVariableBindings} from './parser/context_with_variable_bindings';
|
||||
|
||||
import {AbstractChangeDetector} from './abstract_change_detector';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {List} from 'facade/collection';
|
||||
import {List} from 'facade/src/collection';
|
||||
|
||||
export class ChangeRecord {
|
||||
bindingMemento:any;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {stringify, looseIdentical, isJsObject} from 'facade/lang';
|
||||
import {stringify, looseIdentical, isJsObject} from 'facade/src/lang';
|
||||
|
||||
export class KeyValueChanges {
|
||||
_records:Map;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {FIELD, autoConvertAdd, isBlank, isPresent, FunctionWrapper, BaseException} from "facade/lang";
|
||||
import {List, Map, ListWrapper, StringMapWrapper} from "facade/collection";
|
||||
import {FIELD, autoConvertAdd, isBlank, isPresent, FunctionWrapper, BaseException} from "facade/src/lang";
|
||||
import {List, Map, ListWrapper, StringMapWrapper} from "facade/src/collection";
|
||||
import {ContextWithVariableBindings} from "./context_with_variable_bindings";
|
||||
|
||||
export class AST {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {MapWrapper} from 'facade/collection';
|
||||
import {BaseException} from 'facade/lang';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
import {BaseException} from 'facade/src/lang';
|
||||
|
||||
export class ContextWithVariableBindings {
|
||||
parent:any;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {List, ListWrapper, SetWrapper} from "facade/collection";
|
||||
import {int, FIELD, NumberWrapper, StringJoiner, StringWrapper} from "facade/lang";
|
||||
import {List, ListWrapper, SetWrapper} from "facade/src/collection";
|
||||
import {int, FIELD, NumberWrapper, StringJoiner, StringWrapper} from "facade/src/lang";
|
||||
|
||||
export const TOKEN_TYPE_CHARACTER = 1;
|
||||
export const TOKEN_TYPE_IDENTIFIER = 2;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {FIELD, int, isBlank, isPresent, BaseException, StringWrapper, RegExpWrapper} from 'facade/lang';
|
||||
import {ListWrapper, List} from 'facade/collection';
|
||||
import {FIELD, int, isBlank, isPresent, BaseException, StringWrapper, RegExpWrapper} from 'facade/src/lang';
|
||||
import {ListWrapper, List} from 'facade/src/collection';
|
||||
import {Lexer, EOF, Token, $PERIOD, $COLON, $SEMICOLON, $LBRACKET, $RBRACKET,
|
||||
$COMMA, $LBRACE, $RBRACE, $LPAREN, $RPAREN} from './lexer';
|
||||
import {reflector, Reflector} from 'reflection/reflection';
|
||||
import {reflector, Reflector} from 'reflection/src/reflection';
|
||||
import {
|
||||
AST,
|
||||
EmptyExpr,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent, isBlank, BaseException, Type, isString} from 'facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank, BaseException, Type, isString} from 'facade/src/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {
|
||||
AccessMember,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {describe, it, iit, xit, expect, beforeEach, afterEach} from 'test_lib/test_lib';
|
||||
import {ArrayChanges} from 'change_detection/array_changes';
|
||||
import {ArrayChanges} from 'change_detection/src/array_changes';
|
||||
|
||||
import {NumberWrapper} from 'facade/lang';
|
||||
import {ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {NumberWrapper} from 'facade/src/lang';
|
||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {TestIterable} from './iterable';
|
||||
import {arrayChangesAsString} from './util';
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, IS_DARTIUM} from 'test_lib/test_lib';
|
||||
|
||||
import {isPresent, isBlank, isJsObject, BaseException, FunctionWrapper} from 'facade/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank, isJsObject, BaseException, FunctionWrapper} from 'facade/src/lang';
|
||||
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {Parser} from 'change_detection/parser/parser';
|
||||
import {Lexer} from 'change_detection/parser/lexer';
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {Parser} from 'change_detection/src/parser/parser';
|
||||
import {Lexer} from 'change_detection/src/parser/lexer';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {arrayChangesAsString, kvChangesAsString} from './util';
|
||||
|
||||
import {ChangeDispatcher, DynamicChangeDetector, ChangeDetectionError, ContextWithVariableBindings}
|
||||
from 'change_detection/change_detection';
|
||||
|
||||
|
||||
import {JitProtoChangeDetector, DynamicProtoChangeDetector} from 'change_detection/proto_change_detector';
|
||||
import {JitProtoChangeDetector, DynamicProtoChangeDetector} from 'change_detection/src/proto_change_detector';
|
||||
|
||||
|
||||
export function main() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from 'test_lib/test_lib';
|
||||
|
||||
import {coalesce} from 'change_detection/coalesce';
|
||||
import {RECORD_TYPE_SELF, ProtoRecord} from 'change_detection/proto_change_detector';
|
||||
import {coalesce} from 'change_detection/src/coalesce';
|
||||
import {RECORD_TYPE_SELF, ProtoRecord} from 'change_detection/src/proto_change_detector';
|
||||
|
||||
export function main() {
|
||||
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 {KeyValueChanges} from 'change_detection/keyvalue_changes';
|
||||
import {NumberWrapper, isJsObject} from 'facade/lang';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {KeyValueChanges} from 'change_detection/src/keyvalue_changes';
|
||||
import {NumberWrapper, isJsObject} from 'facade/src/lang';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
import {kvChangesAsString} from './util';
|
||||
|
||||
// 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 {ContextWithVariableBindings} from 'change_detection/parser/context_with_variable_bindings';
|
||||
import {ContextWithVariableBindings} from 'change_detection/src/parser/context_with_variable_bindings';
|
||||
|
||||
import {BaseException, isBlank, isPresent} from 'facade/lang';
|
||||
import {MapWrapper, ListWrapper} from 'facade/collection';
|
||||
import {BaseException, isBlank, isPresent} from 'facade/src/lang';
|
||||
import {MapWrapper, ListWrapper} from 'facade/src/collection';
|
||||
|
||||
export function main() {
|
||||
describe('ContextWithVariableBindings', () => {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import {describe, it, expect} from 'test_lib/test_lib';
|
||||
|
||||
import {Lexer, Token} from 'change_detection/parser/lexer';
|
||||
import {Lexer, Token} from 'change_detection/src/parser/lexer';
|
||||
|
||||
import {List, ListWrapper} from "facade/collection";
|
||||
import {StringWrapper, int} from "facade/lang";
|
||||
import {List, ListWrapper} from "facade/src/collection";
|
||||
import {StringWrapper, int} from "facade/src/lang";
|
||||
|
||||
function lex(text:string):List {
|
||||
return new Lexer().tokenize(text);
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import {ddescribe, describe, it, xit, iit, expect, beforeEach} from 'test_lib/test_lib';
|
||||
import {BaseException, isBlank, isPresent} from 'facade/lang';
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {MapWrapper, ListWrapper} from 'facade/collection';
|
||||
import {Parser} from 'change_detection/parser/parser';
|
||||
import {Lexer} from 'change_detection/parser/lexer';
|
||||
import {ContextWithVariableBindings} from 'change_detection/parser/context_with_variable_bindings';
|
||||
import {Formatter, LiteralPrimitive} from 'change_detection/parser/ast';
|
||||
import {BaseException, isBlank, isPresent} from 'facade/src/lang';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {MapWrapper, ListWrapper} from 'facade/src/collection';
|
||||
import {Parser} from 'change_detection/src/parser/parser';
|
||||
import {Lexer} from 'change_detection/src/parser/lexer';
|
||||
import {ContextWithVariableBindings} from 'change_detection/src/parser/context_with_variable_bindings';
|
||||
import {Formatter, LiteralPrimitive} from 'change_detection/src/parser/ast';
|
||||
|
||||
class TestData {
|
||||
a;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {isBlank} from 'facade/lang';
|
||||
import {isBlank} from 'facade/src/lang';
|
||||
|
||||
export function arrayChangesAsString({collection, previous, additions, moves, removals}) {
|
||||
if (isBlank(collection)) collection = [];
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
export * from './src/annotations/annotations';
|
||||
export * from './src/compiler/interfaces';
|
||||
export * from './src/annotations/template_config';
|
||||
|
||||
export * from './src/application';
|
||||
|
||||
export * from './src/compiler/compiler';
|
||||
export * from './src/compiler/template_loader';
|
||||
export * from './src/compiler/view';
|
||||
export * from './src/compiler/viewport';
|
||||
|
||||
export * from './src/dom/element';
|
|
@ -1,5 +1,5 @@
|
|||
import {ABSTRACT, CONST, normalizeBlank} from 'facade/lang';
|
||||
import {List} from 'facade/collection';
|
||||
import {ABSTRACT, CONST, normalizeBlank} from 'facade/src/lang';
|
||||
import {List} from 'facade/src/collection';
|
||||
import {TemplateConfig} from './template_config';
|
||||
import {ShadowDomStrategy} from '../compiler/shadow_dom';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {CONST} from 'facade/lang';
|
||||
import {CONST} from 'facade/src/lang';
|
||||
import {DependencyAnnotation} from 'di/di';
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {ABSTRACT, CONST, Type} from 'facade/lang';
|
||||
import {List} from 'facade/collection';
|
||||
import {ABSTRACT, CONST, Type} from 'facade/src/lang';
|
||||
import {List} from 'facade/src/collection';
|
||||
|
||||
export class TemplateConfig {
|
||||
url:any; //string;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {CONST} from 'facade/lang';
|
||||
import {CONST} from 'facade/src/lang';
|
||||
import {DependencyAnnotation} from 'di/di';
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
import {Injector, bind, OpaqueToken} from 'di/di';
|
||||
import {Type, FIELD, isBlank, isPresent, BaseException, assertionsEnabled, print} from 'facade/lang';
|
||||
import {DOM, Element} from 'facade/dom';
|
||||
import {Type, FIELD, isBlank, isPresent, BaseException, assertionsEnabled, print} from 'facade/src/lang';
|
||||
import {DOM, Element} from 'facade/src/dom';
|
||||
import {Compiler, CompilerCache} from './compiler/compiler';
|
||||
import {ProtoView} from './compiler/view';
|
||||
import {Reflector, reflector} from 'reflection/reflection';
|
||||
import {Reflector, reflector} from 'reflection/src/reflection';
|
||||
import {Parser, Lexer, ChangeDetection, dynamicChangeDetection, jitChangeDetection} from 'change_detection/change_detection';
|
||||
import {TemplateLoader} from './compiler/template_loader';
|
||||
import {DirectiveMetadataReader} from './compiler/directive_metadata_reader';
|
||||
import {DirectiveMetadata} from './compiler/directive_metadata';
|
||||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {PromiseWrapper} from 'facade/async';
|
||||
import {VmTurnZone} from 'core/zone/vm_turn_zone';
|
||||
import {LifeCycle} from 'core/life_cycle/life_cycle';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {PromiseWrapper} from 'facade/src/async';
|
||||
import {VmTurnZone} from 'core/src/zone/vm_turn_zone';
|
||||
import {LifeCycle} from 'core/src/life_cycle/life_cycle';
|
||||
|
||||
var _rootInjector: Injector;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {Type, FIELD, isBlank, isPresent, BaseException, stringify} from 'facade/lang';
|
||||
import {Promise, PromiseWrapper} from 'facade/async';
|
||||
import {List, ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {DOM, Element} from 'facade/dom';
|
||||
import {Type, FIELD, isBlank, isPresent, BaseException, stringify} from 'facade/src/lang';
|
||||
import {Promise, PromiseWrapper} from 'facade/src/async';
|
||||
import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
import {DOM, Element} from 'facade/src/dom';
|
||||
|
||||
import {ChangeDetection, Parser} from 'change_detection/change_detection';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {Type} from 'facade/lang';
|
||||
import {Type} from 'facade/src/lang';
|
||||
import {Directive} from '../annotations/annotations'
|
||||
import {List} from 'facade/collection'
|
||||
import {List} from 'facade/src/collection'
|
||||
import {ShadowDomStrategy} from './shadow_dom';
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {Type, isPresent, BaseException, stringify} from 'facade/lang';
|
||||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {Type, isPresent, BaseException, stringify} from 'facade/src/lang';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {Directive, Component} from '../annotations/annotations';
|
||||
import {DirectiveMetadata} from './directive_metadata';
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
import {ShadowDom, ShadowDomStrategy, ShadowDomNative} from './shadow_dom';
|
||||
|
||||
export class DirectiveMetadataReader {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {ProtoElementInjector} from './element_injector';
|
||||
import {FIELD} from 'facade/lang';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {FIELD} from 'facade/src/lang';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
import {DirectiveMetadata} from './directive_metadata';
|
||||
import {List, Map} from 'facade/collection';
|
||||
import {List, Map} from 'facade/src/collection';
|
||||
import {ProtoView} from './view';
|
||||
|
||||
export class ElementBinder {
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
import {FIELD, isPresent, isBlank, Type, int, BaseException} from 'facade/lang';
|
||||
import {Math} from 'facade/math';
|
||||
import {List, ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {FIELD, isPresent, isBlank, Type, int, BaseException} from 'facade/src/lang';
|
||||
import {Math} from 'facade/src/math';
|
||||
import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
import {Injector, Key, Dependency, bind, Binding, NoProviderError, ProviderError, CyclicDependencyError} from 'di/di';
|
||||
import {Parent, Ancestor} from 'core/annotations/visibility';
|
||||
import {EventEmitter} from 'core/annotations/events';
|
||||
import {onDestroy} from 'core/annotations/annotations';
|
||||
import {View, ProtoView} from 'core/compiler/view';
|
||||
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/compiler/shadow_dom_emulation/light_dom';
|
||||
import {ViewPort} from 'core/compiler/viewport';
|
||||
import {NgElement} from 'core/dom/element';
|
||||
import {Directive} from 'core/annotations/annotations'
|
||||
import {Parent, Ancestor} from 'core/src/annotations/visibility';
|
||||
import {EventEmitter} from 'core/src/annotations/events';
|
||||
import {onDestroy} from 'core/src/annotations/annotations';
|
||||
import {View, ProtoView} from 'core/src/compiler/view';
|
||||
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
|
||||
import {ViewPort} from 'core/src/compiler/viewport';
|
||||
import {NgElement} from 'core/src/dom/element';
|
||||
import {Directive} from 'core/src/annotations/annotations'
|
||||
|
||||
var _MAX_DIRECTIVE_CONSTRUCTION_COUNTER = 10;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {isBlank} from 'facade/lang';
|
||||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {DOM, Element} from 'facade/dom';
|
||||
import {isBlank} from 'facade/src/lang';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {DOM, Element} from 'facade/src/dom';
|
||||
import {CompileElement} from './compile_element';
|
||||
import {CompileStep} from './compile_step';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {List, Map, ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {Element, DOM} from 'facade/dom';
|
||||
import {int, isBlank, isPresent, Type} from 'facade/lang';
|
||||
import {List, Map, ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
import {Element, DOM} from 'facade/src/dom';
|
||||
import {int, isBlank, isPresent, Type} from 'facade/src/lang';
|
||||
import {DirectiveMetadata} from '../directive_metadata';
|
||||
import {Decorator} from '../../annotations/annotations';
|
||||
import {Component} from '../../annotations/annotations';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {isPresent} from 'facade/lang';
|
||||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {Element, Node, DOM} from 'facade/dom';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {Element, Node, DOM} from 'facade/src/dom';
|
||||
import {CompileElement} from './compile_element';
|
||||
import {CompileControl} from './compile_control';
|
||||
import {CompileStep} from './compile_step';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {ChangeDetection, Parser} from 'change_detection/change_detection';
|
||||
import {List} from 'facade/collection';
|
||||
import {List} from 'facade/src/collection';
|
||||
|
||||
import {PropertyBindingParser} from './property_binding_parser';
|
||||
import {TextInterpolationParser} from './text_interpolation_parser';
|
||||
|
@ -9,8 +9,8 @@ import {ElementBindingMarker} from './element_binding_marker';
|
|||
import {ProtoViewBuilder} from './proto_view_builder';
|
||||
import {ProtoElementInjectorBuilder} from './proto_element_injector_builder';
|
||||
import {ElementBinderBuilder} from './element_binder_builder';
|
||||
import {DirectiveMetadata} from 'core/compiler/directive_metadata';
|
||||
import {stringify} from 'facade/lang';
|
||||
import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
|
||||
import {stringify} from 'facade/src/lang';
|
||||
|
||||
/**
|
||||
* Default steps used for compiling a template.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {isPresent, BaseException} from 'facade/lang';
|
||||
import {List, MapWrapper} from 'facade/collection';
|
||||
import {TemplateElement} from 'facade/dom';
|
||||
import {isPresent, BaseException} from 'facade/src/lang';
|
||||
import {List, MapWrapper} from 'facade/src/collection';
|
||||
import {TemplateElement} from 'facade/src/dom';
|
||||
import {SelectorMatcher} from '../selector';
|
||||
import {CssSelector} from '../selector';
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {int, isPresent, isBlank, Type, BaseException, stringify} from 'facade/lang';
|
||||
import {Element, DOM} from 'facade/dom';
|
||||
import {ListWrapper, List, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {int, isPresent, isBlank, Type, BaseException, stringify} from 'facade/src/lang';
|
||||
import {Element, DOM} from 'facade/src/dom';
|
||||
import {ListWrapper, List, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {reflector} from 'reflection/reflection';
|
||||
import {reflector} from 'reflection/src/reflection';
|
||||
|
||||
import {Parser, ProtoChangeDetector} from 'change_detection/change_detection';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {isPresent} from 'facade/lang';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {DOM} from 'facade/dom';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
|
||||
import {CompileStep} from './compile_step';
|
||||
import {CompileElement} from './compile_element';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {isPresent, isBlank, RegExpWrapper, BaseException} from 'facade/lang';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {TemplateElement} from 'facade/dom';
|
||||
import {isPresent, isBlank, RegExpWrapper, BaseException} from 'facade/src/lang';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
import {TemplateElement} from 'facade/src/dom';
|
||||
|
||||
import {Parser, AST, ExpressionWithSource} from 'change_detection/change_detection';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent, isBlank} from 'facade/lang';
|
||||
import {ListWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank} from 'facade/src/lang';
|
||||
import {ListWrapper} from 'facade/src/collection';
|
||||
|
||||
import {Key} from 'di/di';
|
||||
import {ProtoElementInjector, ComponentKeyMetaData, DirectiveBinding} from '../element_injector';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {isPresent, BaseException} from 'facade/lang';
|
||||
import {ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {isPresent, BaseException} from 'facade/src/lang';
|
||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {ProtoView} from '../view';
|
||||
import {ChangeDetection} from 'change_detection/change_detection';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {RegExpWrapper, StringWrapper, isPresent} from 'facade/lang';
|
||||
import {Node, DOM} from 'facade/dom';
|
||||
import {RegExpWrapper, StringWrapper, isPresent} from 'facade/src/lang';
|
||||
import {Node, DOM} from 'facade/src/dom';
|
||||
|
||||
import {Parser} from 'change_detection/change_detection';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {isBlank, isPresent} from 'facade/lang';
|
||||
import {DOM, TemplateElement} from 'facade/dom';
|
||||
import {MapWrapper, ListWrapper} from 'facade/collection';
|
||||
import {isBlank, isPresent} from 'facade/src/lang';
|
||||
import {DOM, TemplateElement} from 'facade/src/dom';
|
||||
import {MapWrapper, ListWrapper} from 'facade/src/collection';
|
||||
|
||||
import {Parser} from 'change_detection/change_detection';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {List, Map, ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {isPresent, isBlank, RegExpWrapper, RegExpMatcherWrapper, StringWrapper} from 'facade/lang';
|
||||
import {List, Map, ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
import {isPresent, isBlank, RegExpWrapper, RegExpMatcherWrapper, StringWrapper} from 'facade/src/lang';
|
||||
|
||||
const _EMPTY_ATTR_VALUE = '';
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {Decorator} from '../../annotations/annotations';
|
||||
import {SourceLightDom, DestinationLightDom, LightDom} from './light_dom';
|
||||
import {Inject} from 'di/di';
|
||||
import {Element, Node, DOM} from 'facade/dom';
|
||||
import {isPresent} from 'facade/lang';
|
||||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {NgElement} from 'core/dom/element';
|
||||
import {Element, Node, DOM} from 'facade/src/dom';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {NgElement} from 'core/src/dom/element';
|
||||
|
||||
var _scriptTemplate = DOM.createScriptTag('type', 'ng/content')
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {Element, Node, DOM} from 'facade/dom';
|
||||
import {List, ListWrapper} from 'facade/collection';
|
||||
import {isBlank, isPresent} from 'facade/lang';
|
||||
import {Element, Node, DOM} from 'facade/src/dom';
|
||||
import {List, ListWrapper} from 'facade/src/collection';
|
||||
import {isBlank, isPresent} from 'facade/src/lang';
|
||||
|
||||
import {View} from '../view';
|
||||
import {ElementInjector} from '../element_injector';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {CONST} from 'facade/lang';
|
||||
import {DOM, Element} from 'facade/dom';
|
||||
import {List} from 'facade/collection';
|
||||
import {CONST} from 'facade/src/lang';
|
||||
import {DOM, Element} from 'facade/src/dom';
|
||||
import {List} from 'facade/src/collection';
|
||||
import {View} from './view';
|
||||
import {Content} from './shadow_dom_emulation/content_tag';
|
||||
import {LightDom} from './shadow_dom_emulation/light_dom';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {Promise} from 'facade/async';
|
||||
//import {Document} from 'facade/dom';
|
||||
import {Promise} from 'facade/src/async';
|
||||
//import {Document} from 'facade/src/dom';
|
||||
|
||||
/**
|
||||
* Strategy to load component templates.
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
import {DOM, Element, Node, Text, DocumentFragment, TemplateElement} from 'facade/dom';
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper, List} from 'facade/collection';
|
||||
import {DOM, Element, Node, Text, DocumentFragment, TemplateElement} from 'facade/src/dom';
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper, List} from 'facade/src/collection';
|
||||
import {AST, ContextWithVariableBindings, ChangeDispatcher, ProtoChangeDetector, ChangeDetector, ChangeRecord}
|
||||
from 'change_detection/change_detection';
|
||||
|
||||
import {ProtoElementInjector, ElementInjector, PreBuiltObjects} from './element_injector';
|
||||
import {ElementBinder} from './element_binder';
|
||||
import {DirectiveMetadata} from './directive_metadata';
|
||||
import {SetterFn} from 'reflection/types';
|
||||
import {FIELD, IMPLEMENTS, int, isPresent, isBlank, BaseException} from 'facade/lang';
|
||||
import {SetterFn} from 'reflection/src/types';
|
||||
import {FIELD, IMPLEMENTS, int, isPresent, isBlank, BaseException} from 'facade/src/lang';
|
||||
import {Injector} from 'di/di';
|
||||
import {NgElement} from 'core/dom/element';
|
||||
import {NgElement} from 'core/src/dom/element';
|
||||
import {ViewPort} from './viewport';
|
||||
import {OnChange} from './interfaces';
|
||||
import {Content} from './shadow_dom_emulation/content_tag';
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {View, ProtoView} from './view';
|
||||
import {DOM, Node, Element} from 'facade/dom';
|
||||
import {ListWrapper, MapWrapper, List} from 'facade/collection';
|
||||
import {BaseException} from 'facade/lang';
|
||||
import {DOM, Node, Element} from 'facade/src/dom';
|
||||
import {ListWrapper, MapWrapper, List} from 'facade/src/collection';
|
||||
import {BaseException} from 'facade/src/lang';
|
||||
import {Injector} from 'di/di';
|
||||
import {ElementInjector} from 'core/compiler/element_injector';
|
||||
import {isPresent, isBlank} from 'facade/lang';
|
||||
import {ElementInjector} from 'core/src/compiler/element_injector';
|
||||
import {isPresent, isBlank} from 'facade/src/lang';
|
||||
|
||||
export class ViewPort {
|
||||
parentView: View;
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
export * from './annotations/annotations';
|
||||
export * from './compiler/interfaces';
|
||||
export * from './annotations/template_config';
|
||||
|
||||
export * from './application';
|
||||
|
||||
export * from './compiler/compiler';
|
||||
export * from './compiler/template_loader';
|
||||
export * from './compiler/view';
|
||||
export * from './compiler/viewport';
|
||||
|
||||
export * from './dom/element';
|
|
@ -1,5 +1,5 @@
|
|||
import {DOM, Element} from 'facade/dom';
|
||||
import {normalizeBlank} from 'facade/lang';
|
||||
import {DOM, Element} from 'facade/src/dom';
|
||||
import {normalizeBlank} from 'facade/src/lang';
|
||||
|
||||
export class NgElement {
|
||||
domElement:Element;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {FIELD, print} from 'facade/lang';
|
||||
import {FIELD, print} from 'facade/src/lang';
|
||||
import {ChangeDetector} from 'change_detection/change_detection';
|
||||
import {VmTurnZone} from 'core/zone/vm_turn_zone';
|
||||
import {ListWrapper} from 'facade/collection';
|
||||
import {VmTurnZone} from 'core/src/zone/vm_turn_zone';
|
||||
import {ListWrapper} from 'facade/src/collection';
|
||||
|
||||
export class LifeCycle {
|
||||
_changeDetector:ChangeDetector;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {List, ListWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {normalizeBlank, isPresent} from 'facade/lang';
|
||||
import {List, ListWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
import {normalizeBlank, isPresent} from 'facade/src/lang';
|
||||
|
||||
export class VmTurnZone {
|
||||
_outerZone;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach} from 'test_lib/test_lib';
|
||||
import {bootstrap, appDocumentToken, appElementToken}
|
||||
from 'core/application';
|
||||
import {Component} from 'core/annotations/annotations';
|
||||
import {DOM} from 'facade/dom';
|
||||
import {ListWrapper} from 'facade/collection';
|
||||
import {PromiseWrapper} from 'facade/async';
|
||||
from 'core/src/application';
|
||||
import {Component} from 'core/src/annotations/annotations';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
import {ListWrapper} from 'facade/src/collection';
|
||||
import {PromiseWrapper} from 'facade/src/async';
|
||||
import {bind, Inject} from 'di/di';
|
||||
import {TemplateConfig} from 'core/annotations/template_config';
|
||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
||||
|
||||
@Component({
|
||||
selector: 'hello-app',
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
import {describe, beforeEach, it, expect, ddescribe, iit, el} from 'test_lib/test_lib';
|
||||
import {DOM} from 'facade/dom';
|
||||
import {List} from 'facade/collection';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
import {List} from 'facade/src/collection';
|
||||
|
||||
import {Compiler, CompilerCache} from 'core/compiler/compiler';
|
||||
import {ProtoView} from 'core/compiler/view';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {TemplateLoader} from 'core/compiler/template_loader';
|
||||
import {Component} from 'core/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/annotations/template_config';
|
||||
import {CompileElement} from 'core/compiler/pipeline/compile_element';
|
||||
import {CompileStep} from 'core/compiler/pipeline/compile_step'
|
||||
import {CompileControl} from 'core/compiler/pipeline/compile_control';
|
||||
import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
|
||||
import {ProtoView} from 'core/src/compiler/view';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
import {TemplateLoader} from 'core/src/compiler/template_loader';
|
||||
import {Component} from 'core/src/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
||||
|
||||
import {Lexer, Parser, dynamicChangeDetection} from 'change_detection/change_detection';
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {ddescribe, describe, it, iit, expect, beforeEach} from 'test_lib/test_lib';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {Decorator, Component} from 'core/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/annotations/template_config';
|
||||
import {DirectiveMetadata} from 'core/compiler/directive_metadata';
|
||||
import {ShadowDomStrategy, ShadowDomNative} from 'core/compiler/shadow_dom';
|
||||
import {CONST} from 'facade/lang';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
import {Decorator, Component} from 'core/src/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
||||
import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
|
||||
import {ShadowDomStrategy, ShadowDomNative} from 'core/src/compiler/shadow_dom';
|
||||
import {CONST} from 'facade/src/lang';
|
||||
|
||||
|
||||
class FakeShadowDomStrategy extends ShadowDomStrategy {
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach, SpyObject} from 'test_lib/test_lib';
|
||||
import {isBlank, isPresent, FIELD, IMPLEMENTS, proxy} from 'facade/lang';
|
||||
import {ListWrapper, MapWrapper, List} from 'facade/collection';
|
||||
import {ProtoElementInjector, PreBuiltObjects, DirectiveBinding} from 'core/compiler/element_injector';
|
||||
import {Parent, Ancestor} from 'core/annotations/visibility';
|
||||
import {EventEmitter} from 'core/annotations/events';
|
||||
import {onDestroy} from 'core/annotations/annotations';
|
||||
import {isBlank, isPresent, FIELD, IMPLEMENTS, proxy} from 'facade/src/lang';
|
||||
import {ListWrapper, MapWrapper, List} from 'facade/src/collection';
|
||||
import {ProtoElementInjector, PreBuiltObjects, DirectiveBinding} from 'core/src/compiler/element_injector';
|
||||
import {Parent, Ancestor} from 'core/src/annotations/visibility';
|
||||
import {EventEmitter} from 'core/src/annotations/events';
|
||||
import {onDestroy} from 'core/src/annotations/annotations';
|
||||
import {Injector, Inject, bind} from 'di/di';
|
||||
import {View} from 'core/compiler/view';
|
||||
import {View} from 'core/src/compiler/view';
|
||||
import {ProtoRecordRange} from 'change_detection/change_detection';
|
||||
import {ViewPort} from 'core/compiler/viewport';
|
||||
import {NgElement} from 'core/dom/element';
|
||||
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/compiler/shadow_dom_emulation/light_dom';
|
||||
import {Directive} from 'core/annotations/annotations';
|
||||
import {ViewPort} from 'core/src/compiler/viewport';
|
||||
import {NgElement} from 'core/src/dom/element';
|
||||
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
|
||||
import {Directive} from 'core/src/annotations/annotations';
|
||||
|
||||
@proxy
|
||||
@IMPLEMENTS(View)
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
import {describe, xit, it, expect, beforeEach, ddescribe, iit, el} from 'test_lib/test_lib';
|
||||
|
||||
import {DOM} from 'facade/dom';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
|
||||
import {Injector} from 'di/di';
|
||||
import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'change_detection/change_detection';
|
||||
|
||||
import {Compiler, CompilerCache} from 'core/compiler/compiler';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {ShadowDomEmulated} from 'core/compiler/shadow_dom';
|
||||
import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
import {ShadowDomEmulated} from 'core/src/compiler/shadow_dom';
|
||||
|
||||
import {Decorator, Component, Template} from 'core/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/annotations/template_config';
|
||||
import {Decorator, Component, Template} from 'core/src/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
||||
|
||||
import {ViewPort} from 'core/compiler/viewport';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {ViewPort} from 'core/src/compiler/viewport';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
|
||||
export function main() {
|
||||
describe('integration tests', function() {
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
||||
import {isPresent} from 'facade/lang';
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection';
|
||||
import {DirectiveParser} from 'core/compiler/pipeline/directive_parser';
|
||||
import {CompilePipeline} from 'core/compiler/pipeline/compile_pipeline';
|
||||
import {CompileStep} from 'core/compiler/pipeline/compile_step';
|
||||
import {CompileElement} from 'core/compiler/pipeline/compile_element';
|
||||
import {CompileControl} from 'core/compiler/pipeline/compile_control';
|
||||
import {DOM} from 'facade/dom';
|
||||
import {Component} from 'core/annotations/annotations';
|
||||
import {Decorator} from 'core/annotations/annotations';
|
||||
import {Template} from 'core/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/annotations/template_config';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
|
||||
import {DirectiveParser} from 'core/src/compiler/pipeline/directive_parser';
|
||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step';
|
||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
import {Component} from 'core/src/annotations/annotations';
|
||||
import {Decorator} from 'core/src/annotations/annotations';
|
||||
import {Template} from 'core/src/annotations/annotations';
|
||||
import {TemplateConfig} from 'core/src/annotations/template_config';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
import {Lexer, Parser} from 'change_detection/change_detection';
|
||||
|
||||
export function main() {
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
||||
import {isPresent} from 'facade/lang';
|
||||
import {DOM} from 'facade/dom';
|
||||
import {ListWrapper, MapWrapper} from 'facade/collection';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
import {ListWrapper, MapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {ElementBinderBuilder} from 'core/compiler/pipeline/element_binder_builder';
|
||||
import {CompilePipeline} from 'core/compiler/pipeline/compile_pipeline';
|
||||
import {CompileElement} from 'core/compiler/pipeline/compile_element';
|
||||
import {CompileStep} from 'core/compiler/pipeline/compile_step'
|
||||
import {CompileControl} from 'core/compiler/pipeline/compile_control';
|
||||
import {ElementBinderBuilder} from 'core/src/compiler/pipeline/element_binder_builder';
|
||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
||||
|
||||
import {Decorator} from 'core/annotations/annotations';
|
||||
import {Template} from 'core/annotations/annotations';
|
||||
import {Component} from 'core/annotations/annotations';
|
||||
import {ProtoView, ElementPropertyMemento, DirectivePropertyMemento} from 'core/compiler/view';
|
||||
import {ProtoElementInjector} from 'core/compiler/element_injector';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {Decorator} from 'core/src/annotations/annotations';
|
||||
import {Template} from 'core/src/annotations/annotations';
|
||||
import {Component} from 'core/src/annotations/annotations';
|
||||
import {ProtoView, ElementPropertyMemento, DirectivePropertyMemento} from 'core/src/compiler/view';
|
||||
import {ProtoElementInjector} from 'core/src/compiler/element_injector';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
|
||||
import {ChangeDetector, Lexer, Parser, DynamicProtoChangeDetector,
|
||||
} from 'change_detection/change_detection';
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
|
||||
import {isPresent} from 'facade/lang';
|
||||
import {DOM} from 'facade/dom';
|
||||
import {MapWrapper} from 'facade/collection';
|
||||
import {isPresent} from 'facade/src/lang';
|
||||
import {DOM} from 'facade/src/dom';
|
||||
import {MapWrapper} from 'facade/src/collection';
|
||||
|
||||
import {ElementBindingMarker} from 'core/compiler/pipeline/element_binding_marker';
|
||||
import {CompilePipeline} from 'core/compiler/pipeline/compile_pipeline';
|
||||
import {CompileElement} from 'core/compiler/pipeline/compile_element';
|
||||
import {CompileStep} from 'core/compiler/pipeline/compile_step'
|
||||
import {CompileControl} from 'core/compiler/pipeline/compile_control';
|
||||
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader';
|
||||
import {Template, Decorator, Component} from 'core/annotations/annotations';
|
||||
import {ElementBindingMarker} from 'core/src/compiler/pipeline/element_binding_marker';
|
||||
import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
|
||||
import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
|
||||
import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
|
||||
import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
|
||||
import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
|
||||
import {Template, Decorator, Component} from 'core/src/annotations/annotations';
|
||||
|
||||
export function main() {
|
||||
describe('ElementBindingMarker', () => {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue