diff --git a/examples/js/tonejs-ui.js b/examples/js/tonejs-ui.js index 44c65736..18ae6319 100644 --- a/examples/js/tonejs-ui.js +++ b/examples/js/tonejs-ui.js @@ -2716,7 +2716,7 @@ function m(t){return"slot"===t.localName}class y{static getFlattenedNodes(t){ret
- `}});const K=i.b``,X=i.b``;customElements.define("tone-side-panel",class extends i.a{static get properties(){return{collapsed:{type:Boolean}}}constructor(){super(),this.collapsed=!0,this.examples={},this.fetchExamples()}async fetchExamples(){const t=await fetch("./js/ExampleList.json");this.examples=await t.json(),this.requestUpdate()}updated(t){t.has("collapsed")&&this.dispatchEvent(new CustomEvent("collapse",{detail:this.collapsed,composed:!0}))}render(){const t=0===Object.keys(this.examples).length;return i.b` + `}});const K=i.b``,X=i.b``;customElements.define("tone-side-panel",class extends i.a{static get properties(){return{collapsed:{type:Boolean}}}constructor(){super(),this.collapsed=!0,this.examples={},this.fetchExamples()}async fetchExamples(){try{const t=await fetch("./js/ExampleList.json");this.examples=await t.json(),this.requestUpdate()}catch(t){console.log("could not load example list")}}updated(t){t.has("collapsed")&&this.dispatchEvent(new CustomEvent("collapse",{detail:this.collapsed,composed:!0}))}render(){const t=0===Object.keys(this.examples).length;return i.b`