aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngAnimate
diff options
context:
space:
mode:
authorMatias Niemelàˆ2013-07-06 00:48:54 -0400
committerMisko Hevery2013-07-26 23:49:54 -0700
commitaa2133ad818d2e5c27cbd3933061797096356c8a (patch)
treeb14901a1cab572dca6fab79e370cc89210360bbb /src/ngAnimate
parent8ed0d5b6aa2e29ebc8d2026cb04380ed3343baef (diff)
downloadangular.js-aa2133ad818d2e5c27cbd3933061797096356c8a.tar.bz2
fix(ngInclude): $animate refactoring + use transclusion
BREAKING CHANGE: previously ngInclude only updated its content, after this change ngInclude will recreate itself every time a new content is included. This ensures that a single rootElement for all the included contents always exists, which makes definition of css styles for animations much easier.
Diffstat (limited to 'src/ngAnimate')
-rw-r--r--src/ngAnimate/animate.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js
index 93ff9d8c..201d4aab 100644
--- a/src/ngAnimate/animate.js
+++ b/src/ngAnimate/animate.js
@@ -47,10 +47,10 @@
* transition:0.5s linear all;
* }
*
- * .slide > .ng-enter { } /* starting animations for enter */
- * .slide > .ng-enter-active { } /* terminal animations for enter */
- * .slide > .ng-leave { } /* starting animations for leave */
- * .slide > .ng-leave-active { } /* terminal animations for leave */
+ * .slide.ng-enter { } /* starting animations for enter */
+ * .slide.ng-enter-active { } /* terminal animations for enter */
+ * .slide.ng-leave { } /* starting animations for leave */
+ * .slide.ng-leave-active { } /* terminal animations for leave */
* </style>
*
* <!--