| Index: third_party/pkg/angular/lib/core/module_internal.dart
|
| diff --git a/third_party/pkg/angular/lib/core/module.dart b/third_party/pkg/angular/lib/core/module_internal.dart
|
| similarity index 71%
|
| copy from third_party/pkg/angular/lib/core/module.dart
|
| copy to third_party/pkg/angular/lib/core/module_internal.dart
|
| index 4558a3d5f3cce23088e10abd67c73599a8e1d858..13042e70f43d36cf6c8d637c0fcc373b7a523fb1 100644
|
| --- a/third_party/pkg/angular/lib/core/module.dart
|
| +++ b/third_party/pkg/angular/lib/core/module_internal.dart
|
| @@ -1,8 +1,8 @@
|
| -library angular.core;
|
| +library angular.core_internal;
|
|
|
| import 'dart:async' as async;
|
| import 'dart:collection';
|
| -import 'dart:mirrors';
|
| +import 'dart:math';
|
| import 'package:intl/intl.dart';
|
|
|
| import 'package:di/di.dart';
|
| @@ -11,8 +11,7 @@ import 'package:angular/core/parser/parser.dart';
|
| import 'package:angular/core/parser/lexer.dart';
|
| import 'package:angular/utils.dart';
|
|
|
| -import 'package:angular/core/service.dart';
|
| -export 'package:angular/core/service.dart';
|
| +import 'package:angular/core/annotation_src.dart';
|
|
|
| import 'package:angular/change_detection/watch_group.dart';
|
| export 'package:angular/change_detection/watch_group.dart';
|
| @@ -20,39 +19,38 @@ import 'package:angular/change_detection/change_detection.dart';
|
| import 'package:angular/change_detection/dirty_checking_change_detector.dart';
|
| import 'package:angular/core/parser/utils.dart';
|
| import 'package:angular/core/parser/syntax.dart';
|
| +import 'package:angular/core/registry.dart';
|
|
|
| part "cache.dart";
|
| -part "directive.dart";
|
| part "exception_handler.dart";
|
| -part "filter.dart";
|
| +part 'formatter.dart';
|
| part "interpolate.dart";
|
| -part "registry.dart";
|
| part "scope.dart";
|
| part "zone.dart";
|
|
|
|
|
| -class NgCoreModule extends Module {
|
| - NgCoreModule() {
|
| +class CoreModule extends Module {
|
| + CoreModule() {
|
| type(ScopeDigestTTL);
|
|
|
| type(MetadataExtractor);
|
| type(Cache);
|
| type(ExceptionHandler);
|
| - type(FilterMap);
|
| + type(FormatterMap);
|
| type(Interpolate);
|
| type(RootScope);
|
| factory(Scope, (injector) => injector.get(RootScope));
|
| - value(ScopeStats, new ScopeStats());
|
| - value(GetterCache, new GetterCache({}));
|
| + factory(ClosureMap, (_) => throw "Must provide dynamic/static ClosureMap.");
|
| + type(ScopeStats);
|
| + type(ScopeStatsEmitter);
|
| + factory(ScopeStatsConfig, (i) => new ScopeStatsConfig());
|
| value(Object, {}); // RootScope context
|
| - type(AstParser);
|
| - type(NgZone);
|
| + type(VmTurnZone);
|
|
|
| type(Parser, implementedBy: DynamicParser);
|
| type(ParserBackend, implementedBy: DynamicParserBackend);
|
| type(DynamicParser);
|
| type(DynamicParserBackend);
|
| type(Lexer);
|
| - type(ClosureMap);
|
| }
|
| }
|
|
|