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

Unified Diff: third_party/pkg/angular/demo/helloworld/helloworld.dart

Issue 148453003: Updating Angular version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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/demo/helloworld/helloworld.dart
diff --git a/third_party/pkg/angular/demo/helloworld/helloworld.dart b/third_party/pkg/angular/demo/helloworld/helloworld.dart
index c264b21239d69c465876b9cc8b7f540b756d9c55..37a2308d5e2e42c0d5287b1f8d2ef656d2c4c59f 100644
--- a/third_party/pkg/angular/demo/helloworld/helloworld.dart
+++ b/third_party/pkg/angular/demo/helloworld/helloworld.dart
@@ -1,5 +1,13 @@
import 'package:angular/angular.dart';
+// This annotation allows Dart to shake away any classes
+// not used from Dart code nor listed in another @MirrorsUsed.
+//
+// If you create classes that are referenced from the Angular
+// expressions, you must include a library target in @MirrorsUsed.
+@MirrorsUsed(override: '*')
+import 'dart:mirrors';
+
main() {
ngBootstrap();
}
« no previous file with comments | « third_party/pkg/angular/demo/bouncing_balls/pubspec.yaml ('k') | third_party/pkg/angular/demo/helloworld/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698