From 11f712bc3e310302eb2e8691cf6d110bdcde1810 Mon Sep 17 00:00:00 2001 From: Matias Niemelàˆ Date: Tue, 7 May 2013 17:11:39 -0400 Subject: chore(ngAnimate): CSS classes X-setup/X-start -> X/X-active BREAKING CHANGE: css classes foo-setup/foo-start become foo/foo-active The CSS transition classes have changed suffixes. To migrate rename .foo-setup {...} to .foo {...} .foo-start {...} to .foo-active {...} or for type: enter, leave, move, show, hide .foo-type-setup {...} to .foo-type {...} .foo-type-start {...} to .foo-type-active {...} --- src/ng/directive/ngSwitch.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ng/directive/ngSwitch.js') diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 8cf8945d..f36e651c 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -71,7 +71,7 @@ } - .example-leave-setup, .example-enter-setup { + .example-leave, .example-enter { -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s; -moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s; -ms-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s; @@ -90,17 +90,17 @@ padding:10px; } - .example-enter-setup { + .example-enter { top:-50px; } - .example-enter-start.example-enter-start { + .example-enter.example-enter-active { top:0; } - .example-leave-setup { + .example-leave { top:0; } - .example-leave-start.example-leave-start { + .example-leave.example-leave-active { top:50px; } -- cgit v1.2.3