mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
feat: with & for in render tag, closes #195
This commit is contained in:
@@ -52,8 +52,6 @@ export const operatorImpls: {[key: string]: (lhs: any, rhs: any) => boolean} = {
|
||||
'or': (l: any, r: any) => isTruthy(l) || isTruthy(r)
|
||||
}
|
||||
|
||||
const list = Object.keys(precedence)
|
||||
|
||||
export function isOperator (token: string) {
|
||||
return list.includes(token)
|
||||
return precedence.hasOwnProperty(token)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user