Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: third_party/pkg/angular/lib/core/module.dart

Issue 180873006: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/lib/core/module.dart
diff --git a/third_party/pkg/angular/lib/core/module.dart b/third_party/pkg/angular/lib/core/module.dart
index ff989271e73b429ea2c9cba2c1d162914db7f535..4558a3d5f3cce23088e10abd67c73599a8e1d858 100644
--- a/third_party/pkg/angular/lib/core/module.dart
+++ b/third_party/pkg/angular/lib/core/module.dart
@@ -2,11 +2,10 @@ library angular.core;
import 'dart:async' as async;
import 'dart:collection';
-import 'dart:convert' show JSON;
import 'dart:mirrors';
+import 'package:intl/intl.dart';
import 'package:di/di.dart';
-import 'package:perf_api/perf_api.dart';
import 'package:angular/core/parser/parser.dart';
import 'package:angular/core/parser/lexer.dart';
@@ -15,6 +14,13 @@ import 'package:angular/utils.dart';
import 'package:angular/core/service.dart';
export 'package:angular/core/service.dart';
+import 'package:angular/change_detection/watch_group.dart';
+export 'package:angular/change_detection/watch_group.dart';
+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';
+
part "cache.dart";
part "directive.dart";
part "exception_handler.dart";
@@ -30,13 +36,16 @@ class NgCoreModule extends Module {
type(ScopeDigestTTL);
type(MetadataExtractor);
- type(FieldMetadataExtractor);
type(Cache);
- type(DirectiveMap);
type(ExceptionHandler);
type(FilterMap);
type(Interpolate);
- type(Scope);
+ type(RootScope);
+ factory(Scope, (injector) => injector.get(RootScope));
+ value(ScopeStats, new ScopeStats());
+ value(GetterCache, new GetterCache({}));
+ value(Object, {}); // RootScope context
+ type(AstParser);
type(NgZone);
type(Parser, implementedBy: DynamicParser);
« no previous file with comments | « third_party/pkg/angular/lib/core/interpolate.dart ('k') | third_party/pkg/angular/lib/core/parser/dynamic_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698