const {jq} = require('../globals'); const rootSelector = 'body'; const tplTopbar = `
`; const tplMainrow = `
`; const init = () => { jq('#fallback, #fallback-hints').remove(); const $root = jq(rootSelector) .attr('id', 'root') .append(tplTopbar) .append(tplMainrow); 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();