Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #345 from ypwalter/v2.1_GaiaAppsUpdate
Browse files Browse the repository at this point in the history
fixed a variable undefied issue in js
  • Loading branch information
Shako Ho committed Dec 23, 2015
2 parents 477932f + 0ef9b21 commit 54ea998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions webapi_tests/app_management.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
var GaiaApps = {

normalizeName: function(name) {
if(name == null || name == "undefined") return "";
return name.replace(/[- ]+/g, '').toLowerCase();
},

Expand Down
2 changes: 1 addition & 1 deletion webapi_tests/certapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def launch(marionette):
# If the app is already launched this doesn't launch a new app, but
# returns a reference to existing app.
app = marionette.execute_async_script(
"GaiaApps.launchWithName('%s')" % name, script_timeout=timeout)
"GaiaApps.launchWithName('%s')" % name, script_timeout=timeout)
if app is None:
raise LaunchError("Unable to launch app: %s" % name)
activate(marionette, app=app)
Expand Down

0 comments on commit 54ea998

Please sign in to comment.