mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 19:25:35 -05:00
* Fix #2114 - Cleanup the test folder + automation * Merged both test and tests into a single folder
24 lines
516 B
HTML
24 lines
516 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="../../dist/core.css">
|
|
<script type="module">
|
|
import { PyWorker } from '../../dist/core.js';
|
|
const { sync } = await PyWorker(
|
|
'./worker.py',
|
|
{
|
|
config: {
|
|
sync_main_only: true
|
|
}
|
|
}
|
|
);
|
|
|
|
document.documentElement.classList.add(
|
|
await sync.get_class()
|
|
);
|
|
</script>
|
|
</head>
|
|
</html>
|