diff options
| author | Matias Niemelàˆ | 2013-05-07 17:11:39 -0400 |
|---|---|---|
| committer | Misko Hevery | 2013-05-08 16:03:31 -0700 |
| commit | 11f712bc3e310302eb2e8691cf6d110bdcde1810 (patch) | |
| tree | 5e8b27a3dc2a8b0b18a4e0560f21f007206772b5 /test/ng/animatorSpec.js | |
| parent | 14757874a7cea7961f31211b245c417bd4b20512 (diff) | |
| download | angular.js-11f712bc3e310302eb2e8691cf6d110bdcde1810.tar.bz2 | |
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 {...}
Diffstat (limited to 'test/ng/animatorSpec.js')
| -rw-r--r-- | test/ng/animatorSpec.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/ng/animatorSpec.js b/test/ng/animatorSpec.js index 5a8ac1a0..d8d56022 100644 --- a/test/ng/animatorSpec.js +++ b/test/ng/animatorSpec.js @@ -225,38 +225,38 @@ describe("$animator", function() { //enter animator.enter(child, element); - expect(child.attr('class')).toContain('custom-enter-setup'); + expect(child.attr('class')).toContain('custom-enter'); window.setTimeout.expect(1).process(); - expect(child.attr('class')).toContain('custom-enter-start'); + expect(child.attr('class')).toContain('custom-enter-active'); window.setTimeout.expect(0).process(); //leave element.append(after); animator.move(child, element, after); - expect(child.attr('class')).toContain('custom-move-setup'); + expect(child.attr('class')).toContain('custom-move'); window.setTimeout.expect(1).process(); - expect(child.attr('class')).toContain('custom-move-start'); + expect(child.attr('class')).toContain('custom-move-active'); window.setTimeout.expect(0).process(); //hide animator.hide(child); - expect(child.attr('class')).toContain('custom-hide-setup'); + expect(child.attr('class')).toContain('custom-hide'); window.setTimeout.expect(1).process(); - expect(child.attr('class')).toContain('custom-hide-start'); + expect(child.attr('class')).toContain('custom-hide-active'); window.setTimeout.expect(0).process(); //show animator.show(child); - expect(child.attr('class')).toContain('custom-show-setup'); + expect(child.attr('class')).toContain('custom-show'); window.setTimeout.expect(1).process(); - expect(child.attr('class')).toContain('custom-show-start'); + expect(child.attr('class')).toContain('custom-show-active'); window.setTimeout.expect(0).process(); //leave animator.leave(child); - expect(child.attr('class')).toContain('custom-leave-setup'); + expect(child.attr('class')).toContain('custom-leave'); window.setTimeout.expect(1).process(); - expect(child.attr('class')).toContain('custom-leave-start'); + expect(child.attr('class')).toContain('custom-leave-active'); window.setTimeout.expect(0).process(); })); |
