mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 08:11:40 +00:00
update
This commit is contained in:
parent
e65c38c52b
commit
a0fe6660c1
File diff suppressed because one or more lines are too long
|
@ -19,8 +19,8 @@ function setGlobalValue(value?: any) { // @ts-ignore
|
|||
export function getStringsForParser(text: string) {
|
||||
let temp = getGlobalValue();
|
||||
setGlobalValue([]);
|
||||
const firstText = text.slice(0, 12);
|
||||
if (firstText === 'report.push(') {
|
||||
const firstText = text.slice(0, 3);
|
||||
if (firstText === 'rep' || firstText === 'r(f') {
|
||||
try {
|
||||
eval(text);
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue