aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatias Niemelä2013-05-13 18:12:25 -0400
committerMatias Niemelä2013-05-13 18:12:25 -0400
commit0930d9dfe7fe63dcf21a9773823372ba8c222ad6 (patch)
treed540b24ddba60c5bb8057a030949ca84f679188a
parent3e4d43b42c37b589eb75c740998b671de8a5f263 (diff)
downloadangular.js-0930d9dfe7fe63dcf21a9773823372ba8c222ad6.tar.bz2
chore($sniffer): replace remaining supportsTransitions/supportsAnimations flags inside tests
-rw-r--r--test/ng/animatorSpec.js12
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();
}