Newer
Older
// IDDE sends msgs to manager, does display etc
// starts with a native manager
/* codename NROL39 aka cuttlefish */
/* aka the teuthologist */
// this is toplevel, UI is meta-hunk
// we run loop where UI passes messages to bower manager
// this is like the manager 'bootstrap' file ?
import Manager from './hunks/manager.js'
// this is the TL
// but heirarchichally, we can slave views to managers ...
// views push messages to managers ...
// this is going to sit in the outbuffer until the view resolves
// js u wyldin !
try{
NROL.loop()
} catch (err) {
console.log('top level err:', err)
}
// want handles on this we think ?
window.onload = () => {
console.log('BOOTUP')
NROL.addHunk('view', 'TLView').then((view) => {
// console.log('ADDHUNK VIEW RESOLVES')
$('#wrapper').get(0).append(View.dom)
}).then(() => {
NROL.addLink(View.id, 'msgs', NROL.id, 'msgs')
NROL.addLink(NROL.id, 'msgs', View.id, 'msgs')
bootloop()

Jake Read
committed
// kick this later
setTimeout(View.refresh, 150)