blob: 1b34720c2bca475b6740e9e1739acb675c48a744 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import r from '@hat-open/renderer';
import * as u from '@hat-open/util';
import * as common from './common';
import * as vt from './vt';
import 'main.scss';
function main() {
const root = document.body.appendChild(document.createElement('div'));
r.init(root, common.state, vt.main);
common.init();
}
window.addEventListener('load', main);
window.r = r;
window.u = u;
|