2024-08-21 20:16:31 +02:00
|
|
|
import init, { enable_panic_debug, init_camera_feed, get_product_options, fill_search_options } from '/pkg/calories_browser.js';
|
2024-08-19 18:11:59 +02:00
|
|
|
await init();
|
2024-08-21 20:16:31 +02:00
|
|
|
enable_panic_debug();
|
2024-08-19 18:11:59 +02:00
|
|
|
|
2024-08-21 20:16:31 +02:00
|
|
|
let product_options = await get_product_options();
|
|
|
|
fill_search_options(product_options);
|
|
|
|
init_camera_feed(product_options);
|