Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRiese committed Jul 29, 2024
1 parent 8a064ff commit ac50342
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {

// https://eslint.org/docs/4.0.0/user-guide/configuring#specifying-parser-options
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 6,
},

// http://eslint.org/docs/user-guide/configuring#specifying-environments
Expand Down
4 changes: 2 additions & 2 deletions corehq/apps/cloudcare/static/cloudcare/js/formplayer/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ hqDefine("cloudcare/js/formplayer/app", [
global: false, xhrFields: { withCredentials: true }}
);
}
}
},
});

var FormplayerFrontend = new WebApp();

FormplayerFrontend.on("before:start", function (app, options) {
FormplayerFrontend.on("before:start", function () {

if (!FormplayerFrontend.regions) {
FormplayerFrontend.regions = CloudcareUtils.getRegionContainer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hqDefine("cloudcare/js/formplayer/main", [
$,
initialPageData,
FormplayerFrontEnd,
sentry,
sentry
) {
$(function () {
sentry.initSentry();
Expand Down

0 comments on commit ac50342

Please sign in to comment.