A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: double custom element defining

+7 -3
+1 -1
src/components/output/polymorphic/indexed-db/element.js
··· 84 84 export const CLASS = IndexedDBOutput; 85 85 export const NAME = "dop-indexed-db"; 86 86 87 - customElements.define(NAME, IndexedDBOutput); 87 + if (!customElements.get(NAME)) customElements.define(NAME, IndexedDBOutput);
+1 -1
src/components/transformer/output/refiner/default/element.js
··· 125 125 export const CLASS = DefaultOutputRefinerTransformer; 126 126 export const NAME = "dtor-default"; 127 127 128 - customElements.define(NAME, CLASS); 128 + if (!customElements.get(NAME)) customElements.define(NAME, CLASS);
+5 -1
src/l/index.js
··· 15 15 16 16 // Preludes 17 17 const facets = await Output.data(output.facets); 18 + let preludesInserted = false; 18 19 19 20 // Load 20 21 createLoader({ ··· 37 38 } 38 39 } 39 40 40 - await insertPreludes(facets, document.body); 41 + if (!preludesInserted) { 42 + preludesInserted = true; 43 + await insertPreludes(facets, document.body); 44 + } 41 45 42 46 const range = document.createRange(); 43 47 range.selectNode(container);