Replace quadratic emote list impl with Map

This commit is contained in:
Calvin Montgomery 2018-01-18 19:34:57 -08:00
parent 8399eab33f
commit 0f9bc44925
7 changed files with 57 additions and 153 deletions

View file

@ -189,11 +189,6 @@ html(lang="en")
.modal-body
.pull-left
input.emotelist-search.form-control(type="text", placeholder="Search")
.pull-right
.checkbox
label
input.emotelist-alphabetical(type="checkbox")
| Sort alphabetically
.emotelist-paginator-container
table.emotelist-table
tbody

View file

@ -197,11 +197,6 @@ mixin emotes
form.form-inline
.form-group
input.emotelist-search.form-control(type="text", placeholder="Search")
.form-group
.checkbox
label
input.emotelist-alphabetical(type="checkbox")
| Sort alphabetically
.emotelist-paginator-container
table.emotelist-table.table.table-striped.table-condensed
thead