Skip to content

Commit

Permalink
fix(all): Fix in AS IMAGE generation of single row.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jul 23, 2023
1 parent c646b2d commit 4c5ccb2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/basic.gblib/services/KeywordsExpressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@ export class KeywordsExpressions {
}
];

keywords[i++] = [
/^\s*((?:[a-z]+.?)(?:(?:\w+).)(?:\w+)*)\s*=\s*get param\s*(.*)/gim,
($0, $1, $2) => {
return `${$1} = await dk.getUserParam ({pid: pid, ${$2}})`;
}
];

keywords[i++] = [
/^\s*(set hear on)(\s*)(.*)/gim,
($0, $1, $2, $3) => {
Expand Down Expand Up @@ -581,13 +588,6 @@ export class KeywordsExpressions {
}
];

keywords[i++] = [
/^\s*get param \s*(.*)/gim,
($0, $1, $2) => {
return `await dk.getUserParam ({pid: pid, ${$1}})`;
}
];

keywords[i++] = [
/^\s*set header\s*(.*)\s*as\s*(.*)/gim,
($0, $1, $2) => {
Expand Down

0 comments on commit 4c5ccb2

Please sign in to comment.