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) {
|
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…
Reference in a new issue