allow multiple links in error traces
This commit is contained in:
parent
8dc9bfbf7a
commit
4f5d4d83e7
@ -13,7 +13,7 @@ export class PlaygroundConsole {
|
||||
return stack
|
||||
.replaceAll(window.origin + "/", "")
|
||||
.replace(
|
||||
/data:text\/javascript;charset=utf-8,[^:]+:(\d+):(\d+)/,
|
||||
/data:text\/javascript;charset=utf-8,[^:]+:(\d+):(\d+)/g,
|
||||
"<a href='javascript:gotoLine($1,$2)'>karlkoder-playground:$1:$2</a>",
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user