chore: update example mashup

This commit is contained in:
caele
2021-05-17 13:07:52 +02:00
parent 553b9ca5b9
commit c21b841431

View File

@@ -9,7 +9,12 @@ connect().then((app) => {
}; };
const nebbie = stardust.embed(app, { const nebbie = stardust.embed(app, {
load: (type, config) => Promise.resolve(sn), types: [
{
name: 'foo',
load: () => Promise.resolve(sn),
},
],
}); });
nebbie.selections().then((s) => s.mount(document.querySelector('.toolbar'))); nebbie.selections().then((s) => s.mount(document.querySelector('.toolbar')));