diff options
| author | Matias Niemelàˆ | 2013-07-06 00:48:54 -0400 |
|---|---|---|
| committer | Misko Hevery | 2013-07-26 23:49:54 -0700 |
| commit | aa2133ad818d2e5c27cbd3933061797096356c8a (patch) | |
| tree | b14901a1cab572dca6fab79e370cc89210360bbb /src/ngAnimate | |
| parent | 8ed0d5b6aa2e29ebc8d2026cb04380ed3343baef (diff) | |
| download | angular.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.js | 8 |
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> * * <!-- |
