Added test
This commit is contained in:
parent
999323f850
commit
f0b3a8869e
@ -18,6 +18,7 @@ component Database
|
||||
option(value="SoundTrack") SoundTrack
|
||||
option(value="Thread") Thread
|
||||
option(value="User") User
|
||||
option(value="Quote") Quote
|
||||
|
||||
.widget-section.mountable
|
||||
label(for="field") where
|
||||
|
@ -9,8 +9,9 @@ component EditorTabs
|
||||
.tabs
|
||||
Tab("Editor", "pencil", "/editor")
|
||||
Tab("Search", "search", "/database")
|
||||
Tab("Shoboi", "calendar", "/editor/shoboi")
|
||||
Tab("Shoboi", "list", "/editor/shoboi")
|
||||
Tab("AniList", "list", "/editor/anilist")
|
||||
Tab("Genres", "list", "/editor/genres")
|
||||
|
||||
//- a.tab.ajax(href="/admin", aria-label="Admin")
|
||||
//- Icon("wrench")
|
||||
|
@ -1,6 +1,6 @@
|
||||
export function* findAll(className: string): IterableIterator<HTMLElement> {
|
||||
let elements = document.getElementsByClassName(className)
|
||||
|
||||
|
||||
for(let i = 0; i < elements.length; ++i) {
|
||||
yield elements[i] as HTMLElement
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user