no need for this to be a property

This commit is contained in:
Jonathan Lipps
2013-10-18 11:00:28 -07:00
parent c95d7ee3ad
commit 4d8b939889
+2 -2
View File
@@ -70,8 +70,8 @@ var IOS = function(args) {
this.onPageChangeCb = null;
this.useRobot = args.robotPort > 0;
this.robotUrl = this.useRobot ? "http://" + args.robotAddress + ":" + args.robotPort + "" : null;
this.safariLauncherAppName = "/safarilauncher.app";
this.isSafariLauncherApp = (typeof args.app !== "undefined") && (args.app.toLowerCase().indexOf(this.safariLauncherAppName, args.app.length - this.safariLauncherAppName.length) !== -1);
var safariLauncherAppName = "/safarilauncher.app";
this.isSafariLauncherApp = (typeof args.app !== "undefined") && (args.app.toLowerCase().indexOf(safariLauncherAppName, args.app.length - safariLauncherAppName.length) !== -1);
this.capabilities = {
version: '6.0'
, webStorageEnabled: false