diff options
| author | Matias Niemelä | 2013-05-13 18:12:25 -0400 |
|---|---|---|
| committer | Matias Niemelä | 2013-05-13 18:12:25 -0400 |
| commit | 0930d9dfe7fe63dcf21a9773823372ba8c222ad6 (patch) | |
| tree | d540b24ddba60c5bb8057a030949ca84f679188a /test | |
| parent | 3e4d43b42c37b589eb75c740998b671de8a5f263 (diff) | |
| download | angular.js-0930d9dfe7fe63dcf21a9773823372ba8c222ad6.tar.bz2 | |
chore($sniffer): replace remaining supportsTransitions/supportsAnimations flags inside tests
Diffstat (limited to 'test')
| -rw-r--r-- | test/ng/animatorSpec.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ng/animatorSpec.js b/test/ng/animatorSpec.js index d8d56022..39e37560 100644 --- a/test/ng/animatorSpec.js +++ b/test/ng/animatorSpec.js @@ -323,7 +323,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsAnimations) { + if ($sniffer.animations) { window.setTimeout.expect(1).process(); window.setTimeout.expect(4000).process(); } @@ -345,7 +345,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsAnimations) { + if ($sniffer.animations) { window.setTimeout.expect(1).process(); window.setTimeout.expect(6000).process(); } @@ -367,7 +367,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsAnimations) { + if ($sniffer.animations) { window.setTimeout.expect(1).process(); window.setTimeout.expect(2000).process(); } @@ -391,7 +391,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(20000).process(); } @@ -435,7 +435,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(1000).process(); } @@ -451,7 +451,7 @@ describe("$animator", function() { }); element.css('display','none'); animator.show(element); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(2000).process(); } |
