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

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

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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
new file mode 100644
index 0000000000000000000000000000000000000000..f394c4cd2adcef8b4b68c30a83c7350b81f938c1
--- /dev/null
+++ b/third_party/pkg/angular/test/io/test_files/templates/main.dart
@@ -0,0 +1,29 @@
+library test_files.main;
+
+import 'package:angular/core/module.dart';
+import 'package:angular/tools/template_cache_annotation.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 {
+}
+
+
+@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