style: add missing trailing commas (#9387)
This commit is contained in:
parent
9314ceae36
commit
f1fd1d2585
79 changed files with 320 additions and 320 deletions
|
|
@ -18,5 +18,5 @@ export default {
|
|||
|
||||
unmounted(src, binding, vn) {
|
||||
if (src._observer_) src._observer_.disconnect();
|
||||
}
|
||||
},
|
||||
} as Directive;
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ export default {
|
|||
el.classList.add('_anime_bounce_standBy');
|
||||
});
|
||||
*/
|
||||
}
|
||||
},
|
||||
} as Directive;
|
||||
|
|
|
|||
|
|
@ -31,5 +31,5 @@ export default {
|
|||
|
||||
unmounted(src, binding, vn) {
|
||||
if (src._ro_) src._ro_.unobserve(src);
|
||||
}
|
||||
},
|
||||
} as Directive;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export default {
|
|||
});
|
||||
resize.observe(src);
|
||||
|
||||
mountings.set(src, { resize, fn: binding.value, });
|
||||
mountings.set(src, { resize, fn: binding.value });
|
||||
calc(src);
|
||||
},
|
||||
|
||||
|
|
@ -50,5 +50,5 @@ export default {
|
|||
info.resize.disconnect();
|
||||
if (info.intersection) info.intersection.disconnect();
|
||||
mountings.delete(src);
|
||||
}
|
||||
},
|
||||
} as Directive<Element, (w: number, h: number) => void>;
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ export default {
|
|||
} else {
|
||||
el.removeEventListener('keydown', el._keyHandler);
|
||||
}
|
||||
}
|
||||
},
|
||||
} as Directive;
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ export default {
|
|||
|
||||
popup(Ripple, { x, y }, {}, 'end');
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ function getClassOrder(width: number, queue: Value): ClassOrder {
|
|||
remove: [
|
||||
...(queue.max ? queue.max.filter(v => width > v).map(getMaxClass) : []),
|
||||
...(queue.min ? queue.min.filter(v => width < v).map(getMinClass) : []),
|
||||
]
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -103,5 +103,5 @@ export default {
|
|||
info.resize.disconnect();
|
||||
if (info.intersection) info.intersection.disconnect();
|
||||
mountings.delete(src);
|
||||
}
|
||||
},
|
||||
} as Directive<Element, Value>;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export class UserPreview {
|
|||
popup(defineAsyncComponent(() => import('@/components/MkUserPreview.vue')), {
|
||||
showing,
|
||||
q: this.user,
|
||||
source: this.el
|
||||
source: this.el,
|
||||
}, {
|
||||
mouseover: () => {
|
||||
window.clearTimeout(this.hideTimer);
|
||||
|
|
@ -41,7 +41,7 @@ export class UserPreview {
|
|||
this.promise = {
|
||||
cancel: () => {
|
||||
showing.value = false;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
this.checkTimer = window.setInterval(() => {
|
||||
|
|
@ -114,5 +114,5 @@ export default {
|
|||
|
||||
const self = el._userPreviewDirective_;
|
||||
self.preview.detach();
|
||||
}
|
||||
},
|
||||
} as Directive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue