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

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

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/demo/helloworld/web/helloworld.dart
===================================================================
--- third_party/pkg/angular/demo/helloworld/web/helloworld.dart (revision 33054)
+++ third_party/pkg/angular/demo/helloworld/web/helloworld.dart (working copy)
@@ -1,20 +0,0 @@
-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';
-
-@NgController(
- selector: '[hello-world-controller]',
- publishAs: 'ctrl')
-class HelloWorldController {
- String name = "world";
-}
-
-main() {
- ngBootstrap(module: new Module()..type(HelloWorldController));
-}
« no previous file with comments | « third_party/pkg/angular/demo/helloworld/index.html ('k') | third_party/pkg/angular/demo/helloworld/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698