diff options
Diffstat (limited to 'src_js/hatter/main.js')
| -rw-r--r-- | src_js/hatter/main.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src_js/hatter/main.js b/src_js/hatter/main.js new file mode 100644 index 0000000..f5bee07 --- /dev/null +++ b/src_js/hatter/main.js @@ -0,0 +1,19 @@ +import bean from 'bean'; +import R from 'ramda'; + +import r from 'hatter/renderer'; +import * as l from 'hatter/lenses'; +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); |
