fix linting

This commit is contained in:
Arthur Lu 2024-11-07 21:27:33 +00:00
parent 7c53cf5efe
commit e2706ce731
2 changed files with 4 additions and 4 deletions

View File

@ -109,9 +109,9 @@ class DraggableItem extends HTMLElement {
return this.#value;
}
set value (value) {
set value (value) {
this.#value = value;
}
}
}
customElements.define("draggable-container", DraggableContainer);

View File

@ -332,8 +332,8 @@ async function populateInstances () {
criteria = (item, query) => {
// lower is better
const { score, CIGAR } = global.wfAlign(query, item, penalties, true);
const alignment = global.DecodeCIGAR(CIGAR)
return { score: score / item.length, alignment: alignment };
const alignment = global.DecodeCIGAR(CIGAR);
return { score: score / item.length, alignment };
};
}
sortInstances(criteria, searchQuery);