Minor cleanup in saucelabs.js.

This commit is contained in:
John-David Dalton
2013-11-05 00:22:50 -08:00
parent 7a480990c6
commit 58d81546da

View File

@@ -66,10 +66,7 @@
var browser = platform[1],
version = +platform[2];
if (browser == 'firefox') {
return version >= 4;
}
return true
return browser != 'firefox' || version >= 4;
});
}
// platforms for mobile and modern builds
@@ -83,7 +80,7 @@
case 'internet explorer': return version >= 9;
case 'safari': return version >= (isMobile ? 5 : 6);
}
return true
return true;
});
}