pomoc3 will no longer have random args
This commit is contained in:
parent
1875e289ed
commit
5906bfe895
@ -47,8 +47,8 @@ const runEvent = (name: string, args: any[]) => {
|
||||
};
|
||||
|
||||
const getTenParam = (fn: RunFunkce): string | undefined => fn.toString()
|
||||
.match(/(?:function\s.*?)?\(([^)]*)\)/)![1]
|
||||
.split(",")[1]
|
||||
.match(/(?:function\s.*?)?\(([^)]*)\)|\w+ =>/)![1]
|
||||
?.split(",")[1]
|
||||
?.trim();
|
||||
|
||||
const fnToArg = (fn: RunFunkce | string) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user