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

Unified Diff: third_party/pkg/angular/lib/animate/ng_animate.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
« no previous file with comments | « third_party/pkg/angular/lib/animate/module.dart ('k') | third_party/pkg/angular/lib/application.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/lib/animate/ng_animate.dart
diff --git a/third_party/pkg/angular/lib/animate/ng_animate.dart b/third_party/pkg/angular/lib/animate/ng_animate.dart
deleted file mode 100644
index 5b0c5c659944331cfa38e729052e54423c0b51c2..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/lib/animate/ng_animate.dart
+++ /dev/null
@@ -1,57 +0,0 @@
-part of angular.animate;
-
-/**
- * This provides DOM controls for turning animations on and off for individual
- * dom elements. Valid options are [always] [never] and [auto]. If this
- * directive is not applied the default value is [auto] for animation.
- */
-@Decorator(selector: '[ng-animate]',
- map: const {'ng-animate': '@option'})
-class NgAnimate extends AbstractNgAnimate {
- set option(value) {
- _option = value;
- _optimizer.alwaysAnimate(_element, _option);
- }
-
- NgAnimate(dom.Element element, AnimationOptimizer optimizer)
- : super(element, optimizer);
-}
-
-/**
- * This provides DOM controls for turning animations on and off for child
- * dom elements. Valid options are [always] [never] and [auto]. If this
- * directive is not applied the default value is [auto] for animation.
- *
- * Values provided in [ng-animate] will override this directive since they are
- * more specific.
- */
-@Decorator(selector: '[ng-animate-children]',
- map: const {'ng-animate-children': '@option'})
-class NgAnimateChildren extends AbstractNgAnimate {
- set option(value) {
- _option = value;
- _optimizer.alwaysAnimateChildren(_element, _option);
- }
-
- NgAnimateChildren(dom.Element element, AnimationOptimizer optimizer)
- : super(element, optimizer);
-}
-
-/**
- * Base class for directives that control animations with an
- * [AnimationOptimizer].
- */
-abstract class AbstractNgAnimate implements DetachAware {
- final AnimationOptimizer _optimizer;
- final dom.Element _element;
-
- String _option = "auto";
- String get option => _option;
- set option(value);
-
- AbstractNgAnimate(this._element, this._optimizer);
-
- detach() {
- _optimizer.detachAlwaysAnimateOptions(_element);
- }
-}
« no previous file with comments | « third_party/pkg/angular/lib/animate/module.dart ('k') | third_party/pkg/angular/lib/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698