Implement CSV download
This commit is contained in:
1 parent
24b047bd5e
commit
a49cbc5e40
20 files changed
+391
-215
No files matched your search
@@ -36,7 +36,7 @@ function reduce(exp, callback) {
|
||||
return exp;
|
||||
}
|
||||
|
||||
function evaluate(exp, obj, now) {
|
||||
function evaluate(exp, obj, now, cb) {
|
||||
function getRegExp(pat, esc) {
|
||||
const k = `${esc || ""}:${pat}`;
|
||||
let c = regExpCache.get(exp);
|
||||
@@ -46,6 +46,7 @@ function evaluate(exp, obj, now) {
|
||||
}
|
||||
|
||||
return expressionParser.map(exp, e => {
|
||||
if (cb) e = cb(e);
|
||||
if (!isArray(e)) return e;
|
||||
|
||||
if (e[0] === "FUNC") {
|
||||
|
||||
Reference in new issue
Block a user