Skip to content
Snippets Groups Projects
Unverified Commit f14d5886 authored by Johann150's avatar Johann150
Browse files

fix lint padded-blocks

parent ea9e3209
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,6 @@ export default defineComponent({
},
},
setup(props, ctx) {
const hpml = new Hpml(props.page, {
randomSeed: Math.random(),
visitor: $i,
......
......@@ -34,7 +34,6 @@ function calc(src: Element) {
export default {
mounted(src, binding, vn) {
const resize = new ResizeObserver((entries, observer) => {
calc(src);
});
......
......@@ -21,7 +21,6 @@ export async function genSearchQuery(v: any, q: string) {
}
}
}
}
return {
query: q.split(' ').filter(x => !x.startsWith('/') && !x.startsWith('@')).join(' '),
......
......@@ -159,7 +159,6 @@ export class Hpml {
@autobind
private evaluate(expr: Expr, scope: HpmlScope): any {
if (isLiteralValue(expr)) {
if (expr.type === null) {
return null;
......
......@@ -170,7 +170,6 @@ export const funcDefs: Record<string, { in: any[]; out: any; category: string; i
};
export function initHpmlLib(expr: Expr, scope: HpmlScope, randomSeed: string, visitor?: any) {
const date = new Date();
const day = `${visitor ? visitor.id : ''} ${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment