mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-07-04 06:15:50 +02:00
11 lines
200 B
JavaScript
11 lines
200 B
JavaScript
let items = null;
|
|
|
|
async function load() {
|
|
let response = await fetch("api/index")
|
|
items = await response.json();
|
|
|
|
newSearchComponent(document.querySelector("#search"), items);
|
|
}
|
|
|
|
load();
|