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:
Tobias Bosch 2015-02-02 16:25:34 -08:00 committed by Alex Eagle
parent 9db13be4c7
commit 05ffdc9b44
160 changed files with 612 additions and 620 deletions

View File

@ -44,7 +44,7 @@ var CJS_COMPILER_OPTIONS = {
var _HTLM_DEFAULT_SCRIPTS_JS = [ var _HTLM_DEFAULT_SCRIPTS_JS = [
{src: '/deps/traceur-runtime.js', mimeType: 'text/javascript'}, {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/es6-module-loader-sans-promises.src.js', mimeType: 'text/javascript'},
{src: '/deps/zone.js', mimeType: 'text/javascript'}, {src: '/deps/zone.js', mimeType: 'text/javascript'},
{src: '/deps/long-stack-trace-zone.js', mimeType: 'text/javascript'}, {src: '/deps/long-stack-trace-zone.js', mimeType: 'text/javascript'},
@ -78,11 +78,20 @@ var CONFIG = {
}, },
docs: 'dist/docs' docs: 'dist/docs'
}, },
srcFolderMapping: { srcFolderInsertion: {
'default': 'lib', js: {
'**/benchmarks/**': 'web', '**': ''
'**/benchmarks_external/**': 'web', },
'**/example*/**': 'web' dart: {
'**': 'lib',
'*/test/**': '',
'benchmarks/**': 'web',
'benchmarks/test/**': '',
'benchmarks_external/**': 'web',
'benchmarks_external/test/**': '',
'example*/**': 'web',
'example*/test/**': ''
}
}, },
deps: { deps: {
js: [ js: [
@ -145,7 +154,7 @@ var CONFIG = {
}, },
scriptsPerFolder: { scriptsPerFolder: {
js: { js: {
default: _HTLM_DEFAULT_SCRIPTS_JS, '**': _HTLM_DEFAULT_SCRIPTS_JS,
'benchmarks/**': 'benchmarks/**':
[ [
{ src: '/deps/url_params_to_form.js', mimeType: 'text/javascript' } { src: '/deps/url_params_to_form.js', mimeType: 'text/javascript' }
@ -157,7 +166,7 @@ var CONFIG = {
].concat(_HTLM_DEFAULT_SCRIPTS_JS) ].concat(_HTLM_DEFAULT_SCRIPTS_JS)
}, },
dart: { dart: {
default: _HTML_DEFAULT_SCRIPTS_DART, '**': _HTML_DEFAULT_SCRIPTS_DART,
'benchmarks*/**': 'benchmarks*/**':
[ [
{ src: '/deps/url_params_to_form.js', mimeType: 'text/javascript' } { 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, dest: CONFIG.dest.js.dev,
outputExt: 'js', outputExt: 'js',
options: CONFIG.transpile.options.js.dev, options: CONFIG.transpile.options.js.dev,
srcFolderMapping: CONFIG.srcFolderMapping srcFolderInsertion: CONFIG.srcFolderInsertion.js
})); }));
gulp.task('build/transpile.js.prod', transpile(gulp, gulpPlugins, { 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, dest: CONFIG.dest.js.prod,
outputExt: 'js', outputExt: 'js',
options: CONFIG.transpile.options.js.prod, options: CONFIG.transpile.options.js.prod,
srcFolderMapping: CONFIG.srcFolderMapping srcFolderInsertion: CONFIG.srcFolderInsertion.js
})); }));
gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, { gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
@ -239,7 +248,7 @@ gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
dest: CONFIG.dest.dart, dest: CONFIG.dest.dart,
outputExt: 'dart', outputExt: 'dart',
options: CONFIG.transpile.options.dart, options: CONFIG.transpile.options.dart,
srcFolderMapping: CONFIG.srcFolderMapping srcFolderInsertion: CONFIG.srcFolderInsertion.dart
})); }));
gulp.task('build/transpile/tools.cjs', transpile(gulp, gulpPlugins, { 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, dest: CONFIG.dest.cjs.tools,
outputExt: 'js', outputExt: 'js',
options: CONFIG.transpile.options.cjs, options: CONFIG.transpile.options.cjs,
srcFolderMapping: { srcFolderInsertion: CONFIG.srcFolderInsertion.js
'default': 'src'
}
})); }));
gulp.task('build/transpile/e2eTest.cjs', transpile(gulp, gulpPlugins, { 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, dest: CONFIG.dest.cjs.e2eTest,
outputExt: 'js', outputExt: 'js',
options: CONFIG.transpile.options.cjs, options: CONFIG.transpile.options.cjs,
srcFolderMapping: { srcFolderInsertion: CONFIG.srcFolderInsertion.js
'default': 'src'
}
})); }));
// ------------ // ------------
@ -270,21 +275,21 @@ gulp.task('build/transpile/e2eTest.cjs', transpile(gulp, gulpPlugins, {
gulp.task('build/html.js.dev', html(gulp, gulpPlugins, { gulp.task('build/html.js.dev', html(gulp, gulpPlugins, {
src: CONFIG.html.src.js, src: CONFIG.html.src.js,
dest: CONFIG.dest.js.dev, dest: CONFIG.dest.js.dev,
srcFolderMapping: CONFIG.srcFolderMapping, srcFolderInsertion: CONFIG.srcFolderInsertion.js,
scriptsPerFolder: CONFIG.html.scriptsPerFolder.js scriptsPerFolder: CONFIG.html.scriptsPerFolder.js
})); }));
gulp.task('build/html.js.prod', html(gulp, gulpPlugins, { gulp.task('build/html.js.prod', html(gulp, gulpPlugins, {
src: CONFIG.html.src.js, src: CONFIG.html.src.js,
dest: CONFIG.dest.js.prod, dest: CONFIG.dest.js.prod,
srcFolderMapping: CONFIG.srcFolderMapping, srcFolderInsertion: CONFIG.srcFolderInsertion.js,
scriptsPerFolder: CONFIG.html.scriptsPerFolder.js scriptsPerFolder: CONFIG.html.scriptsPerFolder.js
})); }));
gulp.task('build/html.dart', html(gulp, gulpPlugins, { gulp.task('build/html.dart', html(gulp, gulpPlugins, {
src: CONFIG.html.src.dart, src: CONFIG.html.src.dart,
dest: CONFIG.dest.dart, dest: CONFIG.dest.dart,
srcFolderMapping: CONFIG.srcFolderMapping, srcFolderInsertion: CONFIG.srcFolderInsertion.dart,
scriptsPerFolder: CONFIG.html.scriptsPerFolder.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, { gulp.task('build/analyze.dart', dartanalyzer(gulp, gulpPlugins, {
dest: CONFIG.dest.dart, dest: CONFIG.dest.dart,
command: DART_SDK.ANALYZER, command: DART_SDK.ANALYZER
srcFolderMapping: CONFIG.srcFolderMapping
})); }));
// ------------ // ------------

View File

@ -42,14 +42,14 @@ module.exports = function(config) {
'/packages/path': 'http://localhost:9877/base/packages/path', '/packages/path': 'http://localhost:9877/base/packages/path',
// Local dependencies, transpiled from the source. // Local dependencies, transpiled from the source.
'/packages/angular': 'http://localhost:9877/base/modules/angular/src', '/packages/angular': 'http://localhost:9877/base/modules/angular',
'/packages/core': 'http://localhost:9877/base/modules/core/src', '/packages/core': 'http://localhost:9877/base/modules/core',
'/packages/change_detection': 'http://localhost:9877/base/modules/change_detection/src', '/packages/change_detection': 'http://localhost:9877/base/modules/change_detection',
'/packages/reflection': 'http://localhost:9877/base/modules/reflection/src', '/packages/reflection': 'http://localhost:9877/base/modules/reflection',
'/packages/di': 'http://localhost:9877/base/modules/di/src', '/packages/di': 'http://localhost:9877/base/modules/di',
'/packages/directives': 'http://localhost:9877/base/modules/directives/src', '/packages/directives': 'http://localhost:9877/base/modules/directives',
'/packages/facade': 'http://localhost:9877/base/modules/facade/src', '/packages/facade': 'http://localhost:9877/base/modules/facade',
'/packages/test_lib': 'http://localhost:9877/base/modules/test_lib/src', '/packages/test_lib': 'http://localhost:9877/base/modules/test_lib',
}, },
preprocessors: { preprocessors: {

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng2 change detection benchmark', function () { 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); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng2 change detection benchmark', function () { 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); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng2 compiler benchmark', function () { describe('ng2 compiler benchmark', function () {
var URL = 'benchmarks/web/compiler/compiler_benchmark.html'; var URL = 'benchmarks/src/compiler/compiler_benchmark.html';
afterEach(perfUtil.verifyNoBrowserErrors); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng2 compiler benchmark', function () { describe('ng2 compiler benchmark', function () {
var URL = 'benchmarks/web/compiler/compiler_benchmark.html'; var URL = 'benchmarks/src/compiler/compiler_benchmark.html';
afterEach(testUtil.verifyNoBrowserErrors); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng2 di benchmark', function () { describe('ng2 di benchmark', function () {
var URL = 'benchmarks/web/di/di_benchmark.html'; var URL = 'benchmarks/src/di/di_benchmark.html';
afterEach(perfUtil.verifyNoBrowserErrors); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng2 di benchmark', function () { describe('ng2 di benchmark', function () {
var URL = 'benchmarks/web/di/di_benchmark.html'; var URL = 'benchmarks/src/di/di_benchmark.html';
afterEach(testUtil.verifyNoBrowserErrors); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng2 element injector benchmark', function () { 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); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng2 element injector benchmark', function () { 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); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng2 selector benchmark', function () { describe('ng2 selector benchmark', function () {
var URL = 'benchmarks/web/compiler/selector_benchmark.html'; var URL = 'benchmarks/src/compiler/selector_benchmark.html';
afterEach(perfUtil.verifyNoBrowserErrors); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng2 selector benchmark', function () { describe('ng2 selector benchmark', function () {
var URL = 'benchmarks/web/compiler/selector_benchmark.html'; var URL = 'benchmarks/src/compiler/selector_benchmark.html';
afterEach(testUtil.verifyNoBrowserErrors); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng2 tree benchmark', function () { describe('ng2 tree benchmark', function () {
var URL = 'benchmarks/web/tree/tree_benchmark.html'; var URL = 'benchmarks/src/tree/tree_benchmark.html';
afterEach(perfUtil.verifyNoBrowserErrors); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng2 tree benchmark', function () { describe('ng2 tree benchmark', function () {
var URL = 'benchmarks/web/tree/tree_benchmark.html'; var URL = 'benchmarks/src/tree/tree_benchmark.html';
afterEach(testUtil.verifyNoBrowserErrors); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -1,7 +1,7 @@
import {ListWrapper, MapWrapper} from 'facade/collection'; import {ListWrapper, MapWrapper} from 'facade/src/collection';
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util'; import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
import { import {
Lexer, Lexer,

View File

@ -1,19 +1,19 @@
import {DOM, document} from 'facade/dom'; import {DOM, document} from 'facade/src/dom';
import {isBlank, Type} from 'facade/lang'; import {isBlank, Type} from 'facade/src/lang';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
import {DirectiveMetadata} from 'core/compiler/directive_metadata'; import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
import {Parser, Lexer, ProtoRecordRange, dynamicChangeDetection} from 'change_detection/change_detection'; import {Parser, Lexer, ProtoRecordRange, dynamicChangeDetection} from 'change_detection/change_detection';
import {Compiler, CompilerCache} from 'core/compiler/compiler'; import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {Component} from 'core/annotations/annotations'; import {Component} from 'core/src/annotations/annotations';
import {Decorator} from 'core/annotations/annotations'; import {Decorator} from 'core/src/annotations/annotations';
import {TemplateConfig} from 'core/annotations/template_config'; import {TemplateConfig} from 'core/src/annotations/template_config';
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util'; import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
function setupReflector() { function setupReflector() {
reflector.registerType(BenchmarkComponent, { reflector.registerType(BenchmarkComponent, {

View File

@ -1,8 +1,8 @@
import {SelectorMatcher} from "core/compiler/selector"; import {SelectorMatcher} from "core/src/compiler/selector";
import {CssSelector} from "core/compiler/selector"; import {CssSelector} from "core/src/compiler/selector";
import {StringWrapper, Math} from 'facade/lang'; import {StringWrapper, Math} from 'facade/src/lang';
import {ListWrapper} from 'facade/collection'; import {ListWrapper} from 'facade/src/collection';
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util'; import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
export function main() { export function main() {
var count = getIntParameter('selectors'); var count = getIntParameter('selectors');

View File

@ -1,6 +1,6 @@
import {Injector, Key} from "di/di"; import {Injector, Key} from "di/di";
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util'; import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
var count = 0; var count = 0;

View File

@ -1,7 +1,7 @@
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {Injector} from 'di/di'; import {Injector} from 'di/di';
import {ProtoElementInjector} from 'core/compiler/element_injector'; import {ProtoElementInjector} from 'core/src/compiler/element_injector';
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util'; import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
var count = 0; var count = 0;

View File

@ -3,15 +3,15 @@ import {Parser, Lexer, ChangeDetector, ChangeDetection, jitChangeDetection}
import {bootstrap, Component, Template, TemplateConfig, ViewPort, Compiler} from 'angular/angular'; import {bootstrap, Component, Template, TemplateConfig, ViewPort, Compiler} from 'angular/angular';
import {CompilerCache} from 'core/compiler/compiler'; import {CompilerCache} from 'core/src/compiler/compiler';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {TemplateLoader} from 'core/compiler/template_loader'; import {TemplateLoader} from 'core/src/compiler/template_loader';
import {LifeCycle} from 'core/life_cycle/life_cycle'; import {LifeCycle} from 'core/src/life_cycle/life_cycle';
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {DOM, document, window, Element, gc} from 'facade/dom'; import {DOM, document, window, Element, gc} from 'facade/src/dom';
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {getIntParameter, bindAction} from 'e2e_test_lib/benchmark_util'; import {getIntParameter, bindAction} from 'e2e_test_lib/src/benchmark_util';
function setupReflector() { function setupReflector() {
// TODO: Put the general calls to reflector.register... in a shared file // TODO: Put the general calls to reflector.register... in a shared file

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng1.x compiler benchmark', function () { 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); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng1.x compiler benchmark', function () { 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); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -1,7 +1,7 @@
var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util'); var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng1.x largetable benchmark', function () { 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); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -1,7 +1,7 @@
var testUtil = require('../../e2e_test_lib/e2e_test/test_util'); var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng1.x largetable benchmark', function () { 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); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng-dart1.x naive infinite scroll benchmark', function () { 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); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng-dart1.x naive infinite scroll benchmark', function () { 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); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var perfUtil = require('../../e2e_test_lib/e2e_test/perf_util');
describe('ng1.x tree benchmark', function () { 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); afterEach(perfUtil.verifyNoBrowserErrors);

View File

@ -2,7 +2,7 @@ var testUtil = require('../../e2e_test_lib/e2e_test/test_util');
describe('ng1.x tree benchmark', function () { 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); afterEach(testUtil.verifyNoBrowserErrors);

View File

@ -10,5 +10,5 @@ dependencies:
transformers: transformers:
- angular: - angular:
html_files: html_files:
- web/naive_infinite_scroll/scroll_area.html - web/src/naive_infinite_scroll/scroll_area.html
- web/naive_infinite_scroll/scroll_item.html - web/src/naive_infinite_scroll/scroll_item.html

View File

@ -4,7 +4,7 @@ library compiler_benchmark_ng10;
import 'package:angular/angular.dart'; import 'package:angular/angular.dart';
import 'package:angular/application_factory.dart'; import 'package:angular/application_factory.dart';
import 'dart:html'; import 'dart:html';
import 'package:e2e_test_lib/benchmark_util.dart'; import 'package:e2e_test_lib/src/benchmark_util.dart';
main() { main() {

View File

@ -1,5 +1,5 @@
// compiler benchmark in AngularJS 1.x // 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() { export function main() {
var ngEl = document.createElement('div'); var ngEl = document.createElement('div');

View File

@ -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 totalRows = getIntParameter('rows');
var totalColumns = getIntParameter('columns'); var totalColumns = getIntParameter('columns');

View File

@ -3,7 +3,7 @@ library scroll_app;
import 'dart:async'; import 'dart:async';
import 'dart:html'; import 'dart:html';
import 'package:angular/angular.dart'; import 'package:angular/angular.dart';
import 'package:e2e_test_lib/benchmark_util.dart'; import 'package:e2e_test_lib/src/benchmark_util.dart';
@Component( @Component(
selector: 'scroll-app', selector: 'scroll-app',

View File

@ -4,7 +4,7 @@ library tree_benchmark_ng10;
import 'package:angular/angular.dart'; import 'package:angular/angular.dart';
import 'package:angular/application_factory.dart'; import 'package:angular/application_factory.dart';
import 'dart:html'; import 'dart:html';
import 'package:e2e_test_lib/benchmark_util.dart'; import 'package:e2e_test_lib/src/benchmark_util.dart';
setup() { setup() {

View File

@ -1,5 +1,5 @@
// tree benchmark in AngularJS 1.x // 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() { export function main() {
angular.bootstrap(document.querySelector('tree'), ['app']); angular.bootstrap(document.querySelector('tree'), ['app']);

View File

@ -1,14 +1,14 @@
export {AST} from './parser/ast'; export {AST} from './src/parser/ast';
export {Lexer} from './parser/lexer'; export {Lexer} from './src/parser/lexer';
export {Parser} from './parser/parser'; export {Parser} from './src/parser/parser';
export {ContextWithVariableBindings} from './parser/context_with_variable_bindings'; export {ContextWithVariableBindings} from './src/parser/context_with_variable_bindings';
export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError} from './exceptions'; export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError} from './src/exceptions';
export {ChangeRecord, ChangeDispatcher, ChangeDetector} from './interfaces'; export {ChangeRecord, ChangeDispatcher, ChangeDetector} from './src/interfaces';
export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './proto_change_detector'; export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
export {DynamicChangeDetector} from './dynamic_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 { export class ChangeDetection {
createProtoChangeDetector(name:string){} createProtoChangeDetector(name:string){}

View File

@ -1,4 +1,4 @@
import {List, ListWrapper} from 'facade/collection'; import {List, ListWrapper} from 'facade/src/collection';
import {ChangeDetector} from './interfaces'; import {ChangeDetector} from './interfaces';
export class AbstractChangeDetector extends ChangeDetector { export class AbstractChangeDetector extends ChangeDetector {

View File

@ -3,7 +3,7 @@ import {
iterateListLike, iterateListLike,
ListWrapper, ListWrapper,
MapWrapper MapWrapper
} from 'facade/collection'; } from 'facade/src/collection';
import { import {
int, int,
@ -12,7 +12,7 @@ import {
stringify, stringify,
getMapKey, getMapKey,
looseIdentical, looseIdentical,
} from 'facade/lang'; } from 'facade/src/lang';
export class ArrayChanges { export class ArrayChanges {
_collection; _collection;

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank, BaseException, Type} from 'facade/lang'; import {isPresent, isBlank, BaseException, Type} from 'facade/src/lang';
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/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';

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank, BaseException, Type} from 'facade/lang'; import {isPresent, isBlank, BaseException, Type} from 'facade/src/lang';
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/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';

View File

@ -1,5 +1,5 @@
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {List, ListWrapper, Map, MapWrapper} from 'facade/collection'; import {List, ListWrapper, Map, MapWrapper} from 'facade/src/collection';
import {RECORD_TYPE_SELF, ProtoRecord} from './proto_change_detector'; import {RECORD_TYPE_SELF, ProtoRecord} from './proto_change_detector';
/** /**

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank, BaseException, FunctionWrapper} from 'facade/lang'; import {isPresent, isBlank, BaseException, FunctionWrapper} from 'facade/src/lang';
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/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';

View File

@ -1,4 +1,4 @@
import {List} from 'facade/collection'; import {List} from 'facade/src/collection';
export class ChangeRecord { export class ChangeRecord {
bindingMemento:any; bindingMemento:any;

View File

@ -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 { export class KeyValueChanges {
_records:Map; _records:Map;

View File

@ -1,5 +1,5 @@
import {FIELD, autoConvertAdd, isBlank, isPresent, FunctionWrapper, BaseException} from "facade/lang"; import {FIELD, autoConvertAdd, isBlank, isPresent, FunctionWrapper, BaseException} from "facade/src/lang";
import {List, Map, ListWrapper, StringMapWrapper} from "facade/collection"; import {List, Map, ListWrapper, StringMapWrapper} from "facade/src/collection";
import {ContextWithVariableBindings} from "./context_with_variable_bindings"; import {ContextWithVariableBindings} from "./context_with_variable_bindings";
export class AST { export class AST {

View File

@ -1,5 +1,5 @@
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
import {BaseException} from 'facade/lang'; import {BaseException} from 'facade/src/lang';
export class ContextWithVariableBindings { export class ContextWithVariableBindings {
parent:any; parent:any;

View File

@ -1,5 +1,5 @@
import {List, ListWrapper, SetWrapper} from "facade/collection"; import {List, ListWrapper, SetWrapper} from "facade/src/collection";
import {int, FIELD, NumberWrapper, StringJoiner, StringWrapper} from "facade/lang"; import {int, FIELD, NumberWrapper, StringJoiner, StringWrapper} from "facade/src/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;

View File

@ -1,8 +1,8 @@
import {FIELD, int, isBlank, isPresent, BaseException, StringWrapper, RegExpWrapper} from 'facade/lang'; import {FIELD, int, isBlank, isPresent, BaseException, StringWrapper, RegExpWrapper} from 'facade/src/lang';
import {ListWrapper, List} from 'facade/collection'; import {ListWrapper, List} from 'facade/src/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/reflection'; import {reflector, Reflector} from 'reflection/src/reflection';
import { import {
AST, AST,
EmptyExpr, EmptyExpr,

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank, BaseException, Type, isString} from 'facade/lang'; import {isPresent, isBlank, BaseException, Type, isString} from 'facade/src/lang';
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
import { import {
AccessMember, AccessMember,

View File

@ -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 '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 {NumberWrapper} from 'facade/src/lang';
import {ListWrapper, MapWrapper} from 'facade/collection'; import {ListWrapper, MapWrapper} from 'facade/src/collection';
import {TestIterable} from './iterable'; import {TestIterable} from './iterable';
import {arrayChangesAsString} from './util'; import {arrayChangesAsString} from './util';

View File

@ -1,18 +1,18 @@
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 'test_lib/test_lib';
import {isPresent, isBlank, isJsObject, BaseException, FunctionWrapper} from 'facade/lang'; import {isPresent, isBlank, isJsObject, BaseException, FunctionWrapper} from 'facade/src/lang';
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
import {Parser} from 'change_detection/parser/parser'; import {Parser} from 'change_detection/src/parser/parser';
import {Lexer} from 'change_detection/parser/lexer'; import {Lexer} from 'change_detection/src/parser/lexer';
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {arrayChangesAsString, kvChangesAsString} from './util'; import {arrayChangesAsString, kvChangesAsString} from './util';
import {ChangeDispatcher, DynamicChangeDetector, ChangeDetectionError, ContextWithVariableBindings} import {ChangeDispatcher, DynamicChangeDetector, ChangeDetectionError, ContextWithVariableBindings}
from 'change_detection/change_detection'; 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() { export function main() {

View File

@ -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 'test_lib/test_lib';
import {coalesce} from 'change_detection/coalesce'; import {coalesce} from 'change_detection/src/coalesce';
import {RECORD_TYPE_SELF, ProtoRecord} from 'change_detection/proto_change_detector'; import {RECORD_TYPE_SELF, ProtoRecord} from 'change_detection/src/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) {

View File

@ -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 'test_lib/test_lib';
import {KeyValueChanges} from 'change_detection/keyvalue_changes'; import {KeyValueChanges} from 'change_detection/src/keyvalue_changes';
import {NumberWrapper, isJsObject} from 'facade/lang'; import {NumberWrapper, isJsObject} from 'facade/src/lang';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/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

View File

@ -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 '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 {BaseException, isBlank, isPresent} from 'facade/src/lang';
import {MapWrapper, ListWrapper} from 'facade/collection'; import {MapWrapper, ListWrapper} from 'facade/src/collection';
export function main() { export function main() {
describe('ContextWithVariableBindings', () => { describe('ContextWithVariableBindings', () => {

View File

@ -1,9 +1,9 @@
import {describe, it, expect} from 'test_lib/test_lib'; 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 {List, ListWrapper} from "facade/src/collection";
import {StringWrapper, int} from "facade/lang"; import {StringWrapper, int} from "facade/src/lang";
function lex(text:string):List { function lex(text:string):List {
return new Lexer().tokenize(text); return new Lexer().tokenize(text);

View File

@ -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 'test_lib/test_lib';
import {BaseException, isBlank, isPresent} from 'facade/lang'; import {BaseException, isBlank, isPresent} from 'facade/src/lang';
import {reflector} from 'reflection/reflection'; import {reflector} from 'reflection/src/reflection';
import {MapWrapper, ListWrapper} from 'facade/collection'; import {MapWrapper, ListWrapper} from 'facade/src/collection';
import {Parser} from 'change_detection/parser/parser'; import {Parser} from 'change_detection/src/parser/parser';
import {Lexer} from 'change_detection/parser/lexer'; import {Lexer} from 'change_detection/src/parser/lexer';
import {ContextWithVariableBindings} from 'change_detection/parser/context_with_variable_bindings'; import {ContextWithVariableBindings} from 'change_detection/src/parser/context_with_variable_bindings';
import {Formatter, LiteralPrimitive} from 'change_detection/parser/ast'; import {Formatter, LiteralPrimitive} from 'change_detection/src/parser/ast';
class TestData { class TestData {
a; a;

View File

@ -1,4 +1,4 @@
import {isBlank} from 'facade/lang'; import {isBlank} from 'facade/src/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 = [];

12
modules/core/core.js Normal file
View File

@ -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';

View File

@ -1,5 +1,5 @@
import {ABSTRACT, CONST, normalizeBlank} from 'facade/lang'; import {ABSTRACT, CONST, normalizeBlank} from 'facade/src/lang';
import {List} from 'facade/collection'; import {List} from 'facade/src/collection';
import {TemplateConfig} from './template_config'; import {TemplateConfig} from './template_config';
import {ShadowDomStrategy} from '../compiler/shadow_dom'; import {ShadowDomStrategy} from '../compiler/shadow_dom';

View File

@ -1,4 +1,4 @@
import {CONST} from 'facade/lang'; import {CONST} from 'facade/src/lang';
import {DependencyAnnotation} from 'di/di'; import {DependencyAnnotation} from 'di/di';
/** /**

View File

@ -1,5 +1,5 @@
import {ABSTRACT, CONST, Type} from 'facade/lang'; import {ABSTRACT, CONST, Type} from 'facade/src/lang';
import {List} from 'facade/collection'; import {List} from 'facade/src/collection';
export class TemplateConfig { export class TemplateConfig {
url:any; //string; url:any; //string;

View File

@ -1,4 +1,4 @@
import {CONST} from 'facade/lang'; import {CONST} from 'facade/src/lang';
import {DependencyAnnotation} from 'di/di'; import {DependencyAnnotation} from 'di/di';
/** /**

View File

@ -1,17 +1,17 @@
import {Injector, bind, OpaqueToken} from 'di/di'; import {Injector, bind, OpaqueToken} from 'di/di';
import {Type, FIELD, isBlank, isPresent, BaseException, assertionsEnabled, print} from 'facade/lang'; import {Type, FIELD, isBlank, isPresent, BaseException, assertionsEnabled, print} from 'facade/src/lang';
import {DOM, Element} from 'facade/dom'; import {DOM, Element} from 'facade/src/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/reflection'; import {Reflector, reflector} from 'reflection/src/reflection';
import {Parser, Lexer, ChangeDetection, dynamicChangeDetection, jitChangeDetection} from 'change_detection/change_detection'; import {Parser, Lexer, ChangeDetection, dynamicChangeDetection, jitChangeDetection} from 'change_detection/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/collection'; import {List, ListWrapper} from 'facade/src/collection';
import {PromiseWrapper} from 'facade/async'; import {PromiseWrapper} from 'facade/src/async';
import {VmTurnZone} from 'core/zone/vm_turn_zone'; import {VmTurnZone} from 'core/src/zone/vm_turn_zone';
import {LifeCycle} from 'core/life_cycle/life_cycle'; import {LifeCycle} from 'core/src/life_cycle/life_cycle';
var _rootInjector: Injector; var _rootInjector: Injector;

View File

@ -1,7 +1,7 @@
import {Type, FIELD, isBlank, isPresent, BaseException, stringify} from 'facade/lang'; import {Type, FIELD, isBlank, isPresent, BaseException, stringify} from 'facade/src/lang';
import {Promise, PromiseWrapper} from 'facade/async'; import {Promise, PromiseWrapper} from 'facade/src/async';
import {List, ListWrapper, MapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
import {DOM, Element} from 'facade/dom'; import {DOM, Element} from 'facade/src/dom';
import {ChangeDetection, Parser} from 'change_detection/change_detection'; import {ChangeDetection, Parser} from 'change_detection/change_detection';

View File

@ -1,6 +1,6 @@
import {Type} from 'facade/lang'; import {Type} from 'facade/src/lang';
import {Directive} from '../annotations/annotations' import {Directive} from '../annotations/annotations'
import {List} from 'facade/collection' import {List} from 'facade/src/collection'
import {ShadowDomStrategy} from './shadow_dom'; import {ShadowDomStrategy} from './shadow_dom';
/** /**

View File

@ -1,8 +1,8 @@
import {Type, isPresent, BaseException, stringify} from 'facade/lang'; import {Type, isPresent, BaseException, stringify} from 'facade/src/lang';
import {List, ListWrapper} from 'facade/collection'; import {List, ListWrapper} from 'facade/src/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/reflection'; import {reflector} from 'reflection/src/reflection';
import {ShadowDom, ShadowDomStrategy, ShadowDomNative} from './shadow_dom'; import {ShadowDom, ShadowDomStrategy, ShadowDomNative} from './shadow_dom';
export class DirectiveMetadataReader { export class DirectiveMetadataReader {

View File

@ -1,8 +1,8 @@
import {ProtoElementInjector} from './element_injector'; import {ProtoElementInjector} from './element_injector';
import {FIELD} from 'facade/lang'; import {FIELD} from 'facade/src/lang';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
import {DirectiveMetadata} from './directive_metadata'; import {DirectiveMetadata} from './directive_metadata';
import {List, Map} from 'facade/collection'; import {List, Map} from 'facade/src/collection';
import {ProtoView} from './view'; import {ProtoView} from './view';
export class ElementBinder { export class ElementBinder {

View File

@ -1,15 +1,15 @@
import {FIELD, isPresent, isBlank, Type, int, BaseException} from 'facade/lang'; import {FIELD, isPresent, isBlank, Type, int, BaseException} from 'facade/src/lang';
import {Math} from 'facade/math'; import {Math} from 'facade/src/math';
import {List, ListWrapper, MapWrapper} from 'facade/collection'; import {List, ListWrapper, MapWrapper} from 'facade/src/collection';
import {Injector, Key, Dependency, bind, Binding, NoProviderError, ProviderError, CyclicDependencyError} from 'di/di'; import {Injector, Key, Dependency, bind, Binding, NoProviderError, ProviderError, CyclicDependencyError} from 'di/di';
import {Parent, Ancestor} from 'core/annotations/visibility'; import {Parent, Ancestor} from 'core/src/annotations/visibility';
import {EventEmitter} from 'core/annotations/events'; import {EventEmitter} from 'core/src/annotations/events';
import {onDestroy} from 'core/annotations/annotations'; import {onDestroy} from 'core/src/annotations/annotations';
import {View, ProtoView} from 'core/compiler/view'; import {View, ProtoView} from 'core/src/compiler/view';
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/compiler/shadow_dom_emulation/light_dom'; import {LightDom, SourceLightDom, DestinationLightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
import {ViewPort} from 'core/compiler/viewport'; import {ViewPort} from 'core/src/compiler/viewport';
import {NgElement} from 'core/dom/element'; import {NgElement} from 'core/src/dom/element';
import {Directive} from 'core/annotations/annotations' import {Directive} from 'core/src/annotations/annotations'
var _MAX_DIRECTIVE_CONSTRUCTION_COUNTER = 10; var _MAX_DIRECTIVE_CONSTRUCTION_COUNTER = 10;

View File

@ -1,6 +1,6 @@
import {isBlank} from 'facade/lang'; import {isBlank} from 'facade/src/lang';
import {List, ListWrapper} from 'facade/collection'; import {List, ListWrapper} from 'facade/src/collection';
import {DOM, Element} from 'facade/dom'; import {DOM, Element} from 'facade/src/dom';
import {CompileElement} from './compile_element'; import {CompileElement} from './compile_element';
import {CompileStep} from './compile_step'; import {CompileStep} from './compile_step';

View File

@ -1,6 +1,6 @@
import {List, Map, ListWrapper, MapWrapper} from 'facade/collection'; import {List, Map, ListWrapper, MapWrapper} from 'facade/src/collection';
import {Element, DOM} from 'facade/dom'; import {Element, DOM} from 'facade/src/dom';
import {int, isBlank, isPresent, Type} from 'facade/lang'; import {int, isBlank, isPresent, Type} from 'facade/src/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';

View File

@ -1,6 +1,6 @@
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {List, ListWrapper} from 'facade/collection'; import {List, ListWrapper} from 'facade/src/collection';
import {Element, Node, DOM} from 'facade/dom'; import {Element, Node, DOM} from 'facade/src/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';

View File

@ -1,5 +1,5 @@
import {ChangeDetection, Parser} from 'change_detection/change_detection'; 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 {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/compiler/directive_metadata'; import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
import {stringify} from 'facade/lang'; import {stringify} from 'facade/src/lang';
/** /**
* Default steps used for compiling a template. * Default steps used for compiling a template.

View File

@ -1,6 +1,6 @@
import {isPresent, BaseException} from 'facade/lang'; import {isPresent, BaseException} from 'facade/src/lang';
import {List, MapWrapper} from 'facade/collection'; import {List, MapWrapper} from 'facade/src/collection';
import {TemplateElement} from 'facade/dom'; import {TemplateElement} from 'facade/src/dom';
import {SelectorMatcher} from '../selector'; import {SelectorMatcher} from '../selector';
import {CssSelector} from '../selector'; import {CssSelector} from '../selector';

View File

@ -1,8 +1,8 @@
import {int, isPresent, isBlank, Type, BaseException, stringify} from 'facade/lang'; import {int, isPresent, isBlank, Type, BaseException, stringify} from 'facade/src/lang';
import {Element, DOM} from 'facade/dom'; import {Element, DOM} from 'facade/src/dom';
import {ListWrapper, List, MapWrapper, StringMapWrapper} from 'facade/collection'; 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'; import {Parser, ProtoChangeDetector} from 'change_detection/change_detection';

View File

@ -1,6 +1,6 @@
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {CompileStep} from './compile_step'; import {CompileStep} from './compile_step';
import {CompileElement} from './compile_element'; import {CompileElement} from './compile_element';

View File

@ -1,6 +1,6 @@
import {isPresent, isBlank, RegExpWrapper, BaseException} from 'facade/lang'; import {isPresent, isBlank, RegExpWrapper, BaseException} from 'facade/src/lang';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
import {TemplateElement} from 'facade/dom'; import {TemplateElement} from 'facade/src/dom';
import {Parser, AST, ExpressionWithSource} from 'change_detection/change_detection'; import {Parser, AST, ExpressionWithSource} from 'change_detection/change_detection';

View File

@ -1,5 +1,5 @@
import {isPresent, isBlank} from 'facade/lang'; import {isPresent, isBlank} from 'facade/src/lang';
import {ListWrapper} from 'facade/collection'; import {ListWrapper} from 'facade/src/collection';
import {Key} from 'di/di'; import {Key} from 'di/di';
import {ProtoElementInjector, ComponentKeyMetaData, DirectiveBinding} from '../element_injector'; import {ProtoElementInjector, ComponentKeyMetaData, DirectiveBinding} from '../element_injector';

View File

@ -1,5 +1,5 @@
import {isPresent, BaseException} from 'facade/lang'; import {isPresent, BaseException} from 'facade/src/lang';
import {ListWrapper, MapWrapper} from 'facade/collection'; import {ListWrapper, MapWrapper} from 'facade/src/collection';
import {ProtoView} from '../view'; import {ProtoView} from '../view';
import {ChangeDetection} from 'change_detection/change_detection'; import {ChangeDetection} from 'change_detection/change_detection';

View File

@ -1,5 +1,5 @@
import {RegExpWrapper, StringWrapper, isPresent} from 'facade/lang'; import {RegExpWrapper, StringWrapper, isPresent} from 'facade/src/lang';
import {Node, DOM} from 'facade/dom'; import {Node, DOM} from 'facade/src/dom';
import {Parser} from 'change_detection/change_detection'; import {Parser} from 'change_detection/change_detection';

View File

@ -1,6 +1,6 @@
import {isBlank, isPresent} from 'facade/lang'; import {isBlank, isPresent} from 'facade/src/lang';
import {DOM, TemplateElement} from 'facade/dom'; import {DOM, TemplateElement} from 'facade/src/dom';
import {MapWrapper, ListWrapper} from 'facade/collection'; import {MapWrapper, ListWrapper} from 'facade/src/collection';
import {Parser} from 'change_detection/change_detection'; import {Parser} from 'change_detection/change_detection';

View File

@ -1,5 +1,5 @@
import {List, Map, ListWrapper, MapWrapper} from 'facade/collection'; import {List, Map, ListWrapper, MapWrapper} from 'facade/src/collection';
import {isPresent, isBlank, RegExpWrapper, RegExpMatcherWrapper, StringWrapper} from 'facade/lang'; import {isPresent, isBlank, RegExpWrapper, RegExpMatcherWrapper, StringWrapper} from 'facade/src/lang';
const _EMPTY_ATTR_VALUE = ''; const _EMPTY_ATTR_VALUE = '';

View File

@ -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 'di/di';
import {Element, Node, DOM} from 'facade/dom'; import {Element, Node, DOM} from 'facade/src/dom';
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {List, ListWrapper} from 'facade/collection'; import {List, ListWrapper} from 'facade/src/collection';
import {NgElement} from 'core/dom/element'; import {NgElement} from 'core/src/dom/element';
var _scriptTemplate = DOM.createScriptTag('type', 'ng/content') var _scriptTemplate = DOM.createScriptTag('type', 'ng/content')

View File

@ -1,6 +1,6 @@
import {Element, Node, DOM} from 'facade/dom'; import {Element, Node, DOM} from 'facade/src/dom';
import {List, ListWrapper} from 'facade/collection'; import {List, ListWrapper} from 'facade/src/collection';
import {isBlank, isPresent} from 'facade/lang'; import {isBlank, isPresent} from 'facade/src/lang';
import {View} from '../view'; import {View} from '../view';
import {ElementInjector} from '../element_injector'; import {ElementInjector} from '../element_injector';

View File

@ -1,6 +1,6 @@
import {CONST} from 'facade/lang'; import {CONST} from 'facade/src/lang';
import {DOM, Element} from 'facade/dom'; import {DOM, Element} from 'facade/src/dom';
import {List} from 'facade/collection'; import {List} from 'facade/src/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';

View File

@ -1,5 +1,5 @@
import {Promise} from 'facade/async'; import {Promise} from 'facade/src/async';
//import {Document} from 'facade/dom'; //import {Document} from 'facade/src/dom';
/** /**
* Strategy to load component templates. * Strategy to load component templates.

View File

@ -1,15 +1,15 @@
import {DOM, Element, Node, Text, DocumentFragment, TemplateElement} from 'facade/dom'; import {DOM, Element, Node, Text, DocumentFragment, TemplateElement} from 'facade/src/dom';
import {ListWrapper, MapWrapper, StringMapWrapper, List} from 'facade/collection'; import {ListWrapper, MapWrapper, StringMapWrapper, List} from 'facade/src/collection';
import {AST, ContextWithVariableBindings, ChangeDispatcher, ProtoChangeDetector, ChangeDetector, ChangeRecord} import {AST, ContextWithVariableBindings, ChangeDispatcher, ProtoChangeDetector, ChangeDetector, ChangeRecord}
from 'change_detection/change_detection'; from 'change_detection/change_detection';
import {ProtoElementInjector, ElementInjector, PreBuiltObjects} from './element_injector'; import {ProtoElementInjector, ElementInjector, PreBuiltObjects} from './element_injector';
import {ElementBinder} from './element_binder'; import {ElementBinder} from './element_binder';
import {DirectiveMetadata} from './directive_metadata'; import {DirectiveMetadata} from './directive_metadata';
import {SetterFn} from 'reflection/types'; import {SetterFn} from 'reflection/src/types';
import {FIELD, IMPLEMENTS, int, isPresent, isBlank, BaseException} from 'facade/lang'; import {FIELD, IMPLEMENTS, int, isPresent, isBlank, BaseException} from 'facade/src/lang';
import {Injector} from 'di/di'; import {Injector} from 'di/di';
import {NgElement} from 'core/dom/element'; import {NgElement} from 'core/src/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';

View File

@ -1,10 +1,10 @@
import {View, ProtoView} from './view'; import {View, ProtoView} from './view';
import {DOM, Node, Element} from 'facade/dom'; import {DOM, Node, Element} from 'facade/src/dom';
import {ListWrapper, MapWrapper, List} from 'facade/collection'; import {ListWrapper, MapWrapper, List} from 'facade/src/collection';
import {BaseException} from 'facade/lang'; import {BaseException} from 'facade/src/lang';
import {Injector} from 'di/di'; import {Injector} from 'di/di';
import {ElementInjector} from 'core/compiler/element_injector'; import {ElementInjector} from 'core/src/compiler/element_injector';
import {isPresent, isBlank} from 'facade/lang'; import {isPresent, isBlank} from 'facade/src/lang';
export class ViewPort { export class ViewPort {
parentView: View; parentView: View;

View File

@ -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';

View File

@ -1,5 +1,5 @@
import {DOM, Element} from 'facade/dom'; import {DOM, Element} from 'facade/src/dom';
import {normalizeBlank} from 'facade/lang'; import {normalizeBlank} from 'facade/src/lang';
export class NgElement { export class NgElement {
domElement:Element; domElement:Element;

View File

@ -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 {ChangeDetector} from 'change_detection/change_detection';
import {VmTurnZone} from 'core/zone/vm_turn_zone'; import {VmTurnZone} from 'core/src/zone/vm_turn_zone';
import {ListWrapper} from 'facade/collection'; import {ListWrapper} from 'facade/src/collection';
export class LifeCycle { export class LifeCycle {
_changeDetector:ChangeDetector; _changeDetector:ChangeDetector;

View File

@ -1,5 +1,5 @@
import {List, ListWrapper, StringMapWrapper} from 'facade/collection'; import {List, ListWrapper, StringMapWrapper} from 'facade/src/collection';
import {normalizeBlank, isPresent} from 'facade/lang'; import {normalizeBlank, isPresent} from 'facade/src/lang';
export class VmTurnZone { export class VmTurnZone {
_outerZone; _outerZone;

View File

@ -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 'test_lib/test_lib';
import {bootstrap, appDocumentToken, appElementToken} import {bootstrap, appDocumentToken, appElementToken}
from 'core/application'; from 'core/src/application';
import {Component} from 'core/annotations/annotations'; import {Component} from 'core/src/annotations/annotations';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {ListWrapper} from 'facade/collection'; import {ListWrapper} from 'facade/src/collection';
import {PromiseWrapper} from 'facade/async'; import {PromiseWrapper} from 'facade/src/async';
import {bind, Inject} from 'di/di'; import {bind, Inject} from 'di/di';
import {TemplateConfig} from 'core/annotations/template_config'; import {TemplateConfig} from 'core/src/annotations/template_config';
@Component({ @Component({
selector: 'hello-app', selector: 'hello-app',

View File

@ -1,16 +1,16 @@
import {describe, beforeEach, it, expect, ddescribe, iit, el} from 'test_lib/test_lib'; import {describe, beforeEach, it, expect, ddescribe, iit, el} from 'test_lib/test_lib';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {List} from 'facade/collection'; import {List} from 'facade/src/collection';
import {Compiler, CompilerCache} from 'core/compiler/compiler'; import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
import {ProtoView} from 'core/compiler/view'; import {ProtoView} from 'core/src/compiler/view';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {TemplateLoader} from 'core/compiler/template_loader'; import {TemplateLoader} from 'core/src/compiler/template_loader';
import {Component} from 'core/annotations/annotations'; import {Component} from 'core/src/annotations/annotations';
import {TemplateConfig} from 'core/annotations/template_config'; import {TemplateConfig} from 'core/src/annotations/template_config';
import {CompileElement} from 'core/compiler/pipeline/compile_element'; import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
import {CompileStep} from 'core/compiler/pipeline/compile_step' import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
import {CompileControl} from 'core/compiler/pipeline/compile_control'; import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
import {Lexer, Parser, dynamicChangeDetection} from 'change_detection/change_detection'; import {Lexer, Parser, dynamicChangeDetection} from 'change_detection/change_detection';

View File

@ -1,10 +1,10 @@
import {ddescribe, describe, it, iit, expect, beforeEach} from 'test_lib/test_lib'; import {ddescribe, describe, it, iit, expect, beforeEach} from 'test_lib/test_lib';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {Decorator, Component} from 'core/annotations/annotations'; import {Decorator, Component} from 'core/src/annotations/annotations';
import {TemplateConfig} from 'core/annotations/template_config'; import {TemplateConfig} from 'core/src/annotations/template_config';
import {DirectiveMetadata} from 'core/compiler/directive_metadata'; import {DirectiveMetadata} from 'core/src/compiler/directive_metadata';
import {ShadowDomStrategy, ShadowDomNative} from 'core/compiler/shadow_dom'; import {ShadowDomStrategy, ShadowDomNative} from 'core/src/compiler/shadow_dom';
import {CONST} from 'facade/lang'; import {CONST} from 'facade/src/lang';
class FakeShadowDomStrategy extends ShadowDomStrategy { class FakeShadowDomStrategy extends ShadowDomStrategy {

View File

@ -1,17 +1,17 @@
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 'test_lib/test_lib';
import {isBlank, isPresent, FIELD, IMPLEMENTS, proxy} from 'facade/lang'; import {isBlank, isPresent, FIELD, IMPLEMENTS, proxy} from 'facade/src/lang';
import {ListWrapper, MapWrapper, List} from 'facade/collection'; import {ListWrapper, MapWrapper, List} from 'facade/src/collection';
import {ProtoElementInjector, PreBuiltObjects, DirectiveBinding} from 'core/compiler/element_injector'; import {ProtoElementInjector, PreBuiltObjects, DirectiveBinding} from 'core/src/compiler/element_injector';
import {Parent, Ancestor} from 'core/annotations/visibility'; import {Parent, Ancestor} from 'core/src/annotations/visibility';
import {EventEmitter} from 'core/annotations/events'; import {EventEmitter} from 'core/src/annotations/events';
import {onDestroy} from 'core/annotations/annotations'; import {onDestroy} from 'core/src/annotations/annotations';
import {Injector, Inject, bind} from 'di/di'; 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 {ProtoRecordRange} from 'change_detection/change_detection';
import {ViewPort} from 'core/compiler/viewport'; import {ViewPort} from 'core/src/compiler/viewport';
import {NgElement} from 'core/dom/element'; import {NgElement} from 'core/src/dom/element';
import {LightDom, SourceLightDom, DestinationLightDom} from 'core/compiler/shadow_dom_emulation/light_dom'; import {LightDom, SourceLightDom, DestinationLightDom} from 'core/src/compiler/shadow_dom_emulation/light_dom';
import {Directive} from 'core/annotations/annotations'; import {Directive} from 'core/src/annotations/annotations';
@proxy @proxy
@IMPLEMENTS(View) @IMPLEMENTS(View)

View File

@ -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 'test_lib/test_lib';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {Injector} from 'di/di'; import {Injector} from 'di/di';
import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'change_detection/change_detection'; import {Lexer, Parser, ChangeDetector, dynamicChangeDetection} from 'change_detection/change_detection';
import {Compiler, CompilerCache} from 'core/compiler/compiler'; import {Compiler, CompilerCache} from 'core/src/compiler/compiler';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {ShadowDomEmulated} from 'core/compiler/shadow_dom'; import {ShadowDomEmulated} from 'core/src/compiler/shadow_dom';
import {Decorator, Component, Template} from 'core/annotations/annotations'; import {Decorator, Component, Template} from 'core/src/annotations/annotations';
import {TemplateConfig} from 'core/annotations/template_config'; import {TemplateConfig} from 'core/src/annotations/template_config';
import {ViewPort} from 'core/compiler/viewport'; import {ViewPort} from 'core/src/compiler/viewport';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
export function main() { export function main() {
describe('integration tests', function() { describe('integration tests', function() {

View File

@ -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 'test_lib/test_lib';
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/collection'; import {ListWrapper, MapWrapper, StringMapWrapper} from 'facade/src/collection';
import {DirectiveParser} from 'core/compiler/pipeline/directive_parser'; import {DirectiveParser} from 'core/src/compiler/pipeline/directive_parser';
import {CompilePipeline} from 'core/compiler/pipeline/compile_pipeline'; import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
import {CompileStep} from 'core/compiler/pipeline/compile_step'; import {CompileStep} from 'core/src/compiler/pipeline/compile_step';
import {CompileElement} from 'core/compiler/pipeline/compile_element'; import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
import {CompileControl} from 'core/compiler/pipeline/compile_control'; import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {Component} from 'core/annotations/annotations'; import {Component} from 'core/src/annotations/annotations';
import {Decorator} from 'core/annotations/annotations'; import {Decorator} from 'core/src/annotations/annotations';
import {Template} from 'core/annotations/annotations'; import {Template} from 'core/src/annotations/annotations';
import {TemplateConfig} from 'core/annotations/template_config'; import {TemplateConfig} from 'core/src/annotations/template_config';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {Lexer, Parser} from 'change_detection/change_detection'; import {Lexer, Parser} from 'change_detection/change_detection';
export function main() { export function main() {

View File

@ -1,20 +1,20 @@
import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib'; import {describe, beforeEach, it, expect, iit, ddescribe, el} from 'test_lib/test_lib';
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {ListWrapper, MapWrapper} from 'facade/collection'; import {ListWrapper, MapWrapper} from 'facade/src/collection';
import {ElementBinderBuilder} from 'core/compiler/pipeline/element_binder_builder'; import {ElementBinderBuilder} from 'core/src/compiler/pipeline/element_binder_builder';
import {CompilePipeline} from 'core/compiler/pipeline/compile_pipeline'; import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
import {CompileElement} from 'core/compiler/pipeline/compile_element'; import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
import {CompileStep} from 'core/compiler/pipeline/compile_step' import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
import {CompileControl} from 'core/compiler/pipeline/compile_control'; import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
import {Decorator} from 'core/annotations/annotations'; import {Decorator} from 'core/src/annotations/annotations';
import {Template} from 'core/annotations/annotations'; import {Template} from 'core/src/annotations/annotations';
import {Component} from 'core/annotations/annotations'; import {Component} from 'core/src/annotations/annotations';
import {ProtoView, ElementPropertyMemento, DirectivePropertyMemento} from 'core/compiler/view'; import {ProtoView, ElementPropertyMemento, DirectivePropertyMemento} from 'core/src/compiler/view';
import {ProtoElementInjector} from 'core/compiler/element_injector'; import {ProtoElementInjector} from 'core/src/compiler/element_injector';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {ChangeDetector, Lexer, Parser, DynamicProtoChangeDetector, import {ChangeDetector, Lexer, Parser, DynamicProtoChangeDetector,
} from 'change_detection/change_detection'; } from 'change_detection/change_detection';

View File

@ -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 'test_lib/test_lib';
import {isPresent} from 'facade/lang'; import {isPresent} from 'facade/src/lang';
import {DOM} from 'facade/dom'; import {DOM} from 'facade/src/dom';
import {MapWrapper} from 'facade/collection'; import {MapWrapper} from 'facade/src/collection';
import {ElementBindingMarker} from 'core/compiler/pipeline/element_binding_marker'; import {ElementBindingMarker} from 'core/src/compiler/pipeline/element_binding_marker';
import {CompilePipeline} from 'core/compiler/pipeline/compile_pipeline'; import {CompilePipeline} from 'core/src/compiler/pipeline/compile_pipeline';
import {CompileElement} from 'core/compiler/pipeline/compile_element'; import {CompileElement} from 'core/src/compiler/pipeline/compile_element';
import {CompileStep} from 'core/compiler/pipeline/compile_step' import {CompileStep} from 'core/src/compiler/pipeline/compile_step'
import {CompileControl} from 'core/compiler/pipeline/compile_control'; import {CompileControl} from 'core/src/compiler/pipeline/compile_control';
import {DirectiveMetadataReader} from 'core/compiler/directive_metadata_reader'; import {DirectiveMetadataReader} from 'core/src/compiler/directive_metadata_reader';
import {Template, Decorator, Component} from 'core/annotations/annotations'; import {Template, Decorator, Component} from 'core/src/annotations/annotations';
export function main() { export function main() {
describe('ElementBindingMarker', () => { describe('ElementBindingMarker', () => {

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