Skip to content

Commit

Permalink
Merge pull request #241 from MindscapeHQ/fix-json-circular-reference
Browse files Browse the repository at this point in the history
Fix json circular reference
  • Loading branch information
UberMouse authored Jun 27, 2017
2 parents 25148ba + b15c058 commit 0251e83
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 29 deletions.
6 changes: 1 addition & 5 deletions dist/raygun.js
Original file line number Diff line number Diff line change
Expand Up @@ -1883,11 +1883,7 @@ window.raygunBreadcrumbsFactory = function(window, Raygun) {
continue;
}

if (arg === Object(arg)) {
stringifiedArgs.push(JSON.stringify(arg));
} else {
stringifiedArgs.push(arg.toString());
}
stringifiedArgs.push(arg.toString());
}

this.recordBreadcrumb({
Expand Down
4 changes: 2 additions & 2 deletions dist/raygun.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/raygun.min.js.map

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions dist/raygun.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1918,11 +1918,7 @@ window.raygunBreadcrumbsFactory = function(window, Raygun) {
continue;
}

if (arg === Object(arg)) {
stringifiedArgs.push(JSON.stringify(arg));
} else {
stringifiedArgs.push(arg.toString());
}
stringifiedArgs.push(arg.toString());
}

this.recordBreadcrumb({
Expand Down
4 changes: 2 additions & 2 deletions dist/raygun.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/raygun.umd.min.js.map

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions dist/raygun.vanilla.js
Original file line number Diff line number Diff line change
Expand Up @@ -1815,11 +1815,7 @@ window.raygunBreadcrumbsFactory = function(window, Raygun) {
continue;
}

if (arg === Object(arg)) {
stringifiedArgs.push(JSON.stringify(arg));
} else {
stringifiedArgs.push(arg.toString());
}
stringifiedArgs.push(arg.toString());
}

this.recordBreadcrumb({
Expand Down
4 changes: 2 additions & 2 deletions dist/raygun.vanilla.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/raygun.vanilla.min.js.map

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions src/raygun.breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,7 @@ window.raygunBreadcrumbsFactory = function(window, Raygun) {
continue;
}

if (arg === Object(arg)) {
stringifiedArgs.push(JSON.stringify(arg));
} else {
stringifiedArgs.push(arg.toString());
}
stringifiedArgs.push(arg.toString());
}

this.recordBreadcrumb({
Expand Down

0 comments on commit 0251e83

Please sign in to comment.