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

Unified Diff: third_party/pkg/angular/example/web/animation.dart

Issue 257423008: 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
« no previous file with comments | « third_party/pkg/angular/example/pubspec.yaml ('k') | third_party/pkg/angular/example/web/animation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/example/web/animation.dart
diff --git a/third_party/pkg/angular/example/web/animation.dart b/third_party/pkg/angular/example/web/animation.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e2c915bbb810f95cdffd03784256b9ff8fd96133
--- /dev/null
+++ b/third_party/pkg/angular/example/web/animation.dart
@@ -0,0 +1,34 @@
+library animation;
+
+import 'package:angular/angular.dart';
+import 'package:angular/application_factory.dart';
+import 'package:angular/animate/module.dart';
+
+part 'animation/repeat_demo.dart';
+part 'animation/visibility_demo.dart';
+part 'animation/stress_demo.dart';
+part 'animation/css_demo.dart';
+
+@Controller(
+ selector: '[animation-demo]',
+ publishAs: 'demo')
+class AnimationDemo {
+ final pages = ["About", "ng-repeat", "Visibility", "Css", "Stress Test"];
+ var currentPage = "About";
+}
+
+class AnimationDemoModule extends Module {
+ AnimationDemoModule() {
+ install(new AnimationModule());
+ type(RepeatDemo);
+ type(VisibilityDemo);
+ type(StressDemo);
+ type(CssDemo);
+ type(AnimationDemo);
+ }
+}
+main() {
+ applicationFactory()
+ .addModule(new AnimationDemoModule())
+ .run();
+}
« no previous file with comments | « third_party/pkg/angular/example/pubspec.yaml ('k') | third_party/pkg/angular/example/web/animation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698