mirror of
https://github.com/bakhirev/assayo.git
synced 2025-04-21 09:09:11 +00:00
update
This commit is contained in:
parent
e65c38c52b
commit
a0fe6660c1
2 changed files with 5 additions and 5 deletions
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) {
|
export function getStringsForParser(text: string) {
|
||||||
let temp = getGlobalValue();
|
let temp = getGlobalValue();
|
||||||
setGlobalValue([]);
|
setGlobalValue([]);
|
||||||
const firstText = text.slice(0, 12);
|
const firstText = text.slice(0, 3);
|
||||||
if (firstText === 'report.push(') {
|
if (firstText === 'rep' || firstText === 'r(f') {
|
||||||
try {
|
try {
|
||||||
eval(text);
|
eval(text);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue