mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 14:00:39 -07:00
feat: async filters, closes #232
This commit is contained in:
@@ -20,6 +20,6 @@ export class Filter {
|
||||
if (isKeyValuePair(arg)) argv.push([arg[0], yield evalToken(arg[1], context)])
|
||||
else argv.push(yield evalToken(arg, context))
|
||||
}
|
||||
return this.impl.apply({ context }, [value, ...argv])
|
||||
return yield this.impl.apply({ context }, [value, ...argv])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user