DevCompanion: Fix testing patches
This commit is contained in:
parent
acfcd791ec
commit
3414555da8
1 changed files with 2 additions and 0 deletions
|
|
@ -164,6 +164,8 @@ function initWs(isManual = false) {
|
|||
|
||||
if (src.startsWith("function(")) {
|
||||
src = "0," + src;
|
||||
} else if (src.charCodeAt(0) >= 49 /* 1*/ && src.charCodeAt(0) <= 57 /* 9*/) {
|
||||
src = "0,function" + src.substring(src.indexOf("("));
|
||||
}
|
||||
|
||||
let i = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue