GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( d7a494...26a622 )
by Vladimir
27s
created

app.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 1
rs 10
1
const app = {
2
  autoScrool: true,
3
};
4
5
/**
6
 * Init sentry, for capturing frontend errors.
7
 */
8
/** global: Raven */
9
/** global: sentryDSN */
10
Raven.config(sentryDSN).install();
11
12
// Enable autoScrool by default.
13
// This code redundant, but it necessary for code quality checkers...
14
// Now app variable doesn't looks like never used 🤓🙈😁
15
app.autoScrool = true;
16
17
// Disable Google Analytics tracking function for DEV environment.
18
// With the purpose don't break other places - here just define mock.
19
if (typeof gtag === 'undefined') {
0 ignored issues
show
Bug introduced by
The variable gtag seems to be never declared. If this is a global, consider adding a /** global: gtag */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
20
  window.gtag = () => {};
21
}
22