fix linting
This commit is contained in:
parent
7c53cf5efe
commit
e2706ce731
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user