aboutsummaryrefslogtreecommitdiff
path: root/src_js/main.ts
blob: 6a9ca822259a2dd991cd6663a626e285b102829a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import * as u from '@hat-open/util';
import r from '@hat-open/renderer';

import * as common from './common';
import * as vt from './vt/index';

import '../src_scss/main.scss';


function main() {
    const root = document.body.appendChild(document.createElement('div'));
    r.init(root, common.defaultState, vt.main);
}


window.addEventListener('load', main);
(window as any).r = r;
(window as any).u = u;