Skip to content

Commit

Permalink
inner cbs need proper scope (cc @sebv)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Apr 7, 2014
1 parent 52fc91b commit e1fe06c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/devices/android/android-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ androidCommon.configureApp = function (cb) {
"name. cause: " + err);
}
_cb(err);
};
}.bind(this);

if (this.appIsPackageOrBundle(this.args.app)) {
// we have a package instead of app
Expand Down
2 changes: 1 addition & 1 deletion lib/devices/ios/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ IOS.prototype.configureApp = function (cb) {
"name. cause: " + err);
}
_cb(err);
};
}.bind(this);
var app = this.appString();
if (app.toLowerCase() === "iwebview") {
this.capabilities.iwebview = true;
Expand Down

0 comments on commit e1fe06c

Please sign in to comment.