fix extraneous parens

This commit is contained in:
Jonathan Lipps
2014-03-04 10:41:47 -08:00
parent a8e11c2196
commit f76a8ee8f8

View File

@@ -128,7 +128,7 @@ Appium.prototype.getDeviceTypeFromDeviceCap = function (device) {
Appium.prototype.getDeviceTypeFromNamedApp = function (app) {
if (app === "safari") {
return DT_SAFARI;
} else if ((app === "settings")) {
} else if (app === "settings") {
return DT_IOS;
} else if (_.contains(["chrome", "chromium", "browser"], app)) {
return DT_CHROME;