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

Unified Diff: third_party/pkg/angular/test/io/test_files/templates/main.dart

Issue 256553002: Revert "Update all Angular libs (run update_all.sh)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/test/io/test_files/templates/main.dart
diff --git a/third_party/pkg/angular/test/io/test_files/templates/main.dart b/third_party/pkg/angular/test/io/test_files/templates/main.dart
index 4099f204358952c7f0f40c28b621fa9d401fe451..7e9cd6e4f4b02e70b3f1c0d8f64e99a08c65395b 100644
--- a/third_party/pkg/angular/test/io/test_files/templates/main.dart
+++ b/third_party/pkg/angular/test/io/test_files/templates/main.dart
@@ -1,9 +1,29 @@
library test_files.main;
-import 'package:angular/core/annotation.dart';
+import 'package:angular/core/module.dart';
import 'package:angular/tools/template_cache_annotation.dart';
-part 'partial.dart';
+@NgComponent(
+ selector: 'my-component',
+ templateUrl: '/test/io/test_files/templates/main.html')
+@NgTemplateCache()
+class MyComponent
+{
+}
+
+@NgComponent(
+ selector: 'my-component2',
+ templateUrl: '/test/io/test_files/templates/dont.html')
+@NgTemplateCache(cache: false)
+class MyComponent2
+{
+}
+
-class MainClass {
+@NgComponent(
+ selector: 'my-component3',
+ templateUrl: '/test/io/test_files/templates/dont.html')
+@NgTemplateCache(cache: true)
+class MyComponent3
+{
}

Powered by Google App Engine
This is Rietveld 408576698