Skip to content

Commit ee3d2b7

Browse files
committed
Fixed console logs.
1 parent 16badb6 commit ee3d2b7

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/6.4.7/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Gleap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class Gleap {
146146

147147
/**
148148
* Attaches external network logs that get merged with the internal network logs.
149-
* @param {*} externalConsoleLogs
149+
* @param {*} externalConsoleLogs
150150
*/
151151
static attachNetworkLogs(externalConsoleLogs) {
152152
this.getInstance().networkIntercepter.externalConsoleLogs =
@@ -652,7 +652,7 @@ class Gleap {
652652
const buttonColor = styles.buttonColor
653653
? styles.buttonColor
654654
: styles.primaryColor;
655-
const borderRadius = styles.borderRadius ? styles.borderRadius : 20;
655+
const borderRadius = styles.borderRadius != null ? styles.borderRadius : 20;
656656

657657
if (
658658
document.readyState === "complete" ||

src/NetworkInterception.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ class GleapNetworkIntercepter {
88
stopped = false;
99

1010
getRequests() {
11-
var requests = this.externalConsoleLogs.concat(Object.values(this.requests));
12-
console.log(requests);
11+
var requests = this.externalConsoleLogs.concat(
12+
Object.values(this.requests)
13+
);
14+
1315
if (!this.filters || this.filters.length === 0) {
1416
return requests;
1517
}

0 commit comments

Comments
 (0)