blob: 892b6af6924eb55b0e10b87fbe94b30fd12d2109 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import bean from 'bean';
import R from 'ramda';
import r from 'hatter/renderer';
import * as common from 'hatter/common';
import * as vt from 'hatter/vt';
import 'static!static/index.html';
import 'style/main.scss';
function main() {
let root = document.body.appendChild(document.createElement('div'));
r.init(root, common.defaultState, vt.main);
}
bean.on(window, 'load', main);
|