const {dom} = require('../util'); const rootSelector = 'body'; const topbarTpl = `
powered
by h5ai
`; const mainrowTpl = `
`; const init = () => { const $root = dom(rootSelector) .attr('id', 'root') .clr() .app(topbarTpl) .app(mainrowTpl); return { $root, $topbar: $root.find('#topbar'), $toolbar: $root.find('#toolbar'), $flowbar: $root.find('#flowbar'), $mainrow: $root.find('#mainrow'), $content: $root.find('#content') }; }; module.exports = init();