-
Notifications
You must be signed in to change notification settings - Fork 1k
fix: syntax error #2096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: syntax error #2096
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| const BASE_URL = "https://acode.app"; | ||
| let hasPro = false; | ||
|
|
||
| const config = { | ||
|
|
@@ -51,8 +51,8 @@ | |
| }, | ||
| }; | ||
|
|
||
| system.getInstaller( | ||
| (installer) => { | ||
|
|
||
| cordova.exec((installer) => { | ||
| config.IAP_AVAILABLE = | ||
| typeof iap !== "undefined" && | ||
| installer != null && | ||
|
|
@@ -62,7 +62,6 @@ | |
| (error) => { | ||
| console.error(error); | ||
| config.IAP_AVAILABLE = typeof iap !== "undefined"; | ||
| }, | ||
| ); | ||
| }, 'System', 'getInstaller', []); | ||
|
Comment on lines
55
to
+65
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| export default config; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
system.getInstallerlayout where the arrow function started on its own indented line). Now that the arrow function opens inline withcordova.exec(, the body and closing brace are over-indented by one level compared to convention.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!