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; return this.#value;
} }
set value (value) { set value (value) {
this.#value = value; this.#value = value;
} }
} }
customElements.define("draggable-container", DraggableContainer); customElements.define("draggable-container", DraggableContainer);

View File

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