major refactoring

- move instances to new file
- import functions as modules
- add docstrings to helper functions
- add threaded populate() function
- remove unused functions and files
- add typing info to helper functions
- other unremembered changes to the client
This commit is contained in:
geoffrey45
2022-01-14 20:46:55 +03:00
parent e473b5db92
commit 00e2b06e9d
12 changed files with 304 additions and 312 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<template>
<tr>
<tr :class="{ current: current._id == song._id }">
<td
:style="{ width: songTitleWidth + 'px' }"
class="flex"
@@ -61,7 +61,7 @@ export default {
props: ["song", "current", "songTitleWidth", "minWidth"],
setup(props, { emit }) {
function emitUpdate(song) {
emit('updateQueue', song);
emit("updateQueue", song);
}
return {