diff --git a/src/components.js b/src/components.js index 973ecaae..4729f03c 100644 --- a/src/components.js +++ b/src/components.js @@ -84,14 +84,12 @@ export class MCDioramaElement extends HTMLElement { if (this.hasAttribute('phi')) diorama.phi = parseFloat(this.getAttribute('phi')); if (this.hasAttribute('target')) { - console.log('target:', this.getAttribute('target')); const [x, y, z] = this.getAttribute('target').trim().split(/\s+/); diorama.target = [ parseFloat(x), parseFloat(y), parseFloat(z), ]; - console.log('target:', diorama.target); } else { diorama.centerView(); } @@ -134,4 +132,4 @@ export class MCDioramaElement extends HTMLElement { // Register Elements customElements.define('mc-world', MCWorldElement); customElements.define('mc-frame', MCFrameElement); -customElements.define('mc-diorama', MCDioramaElement); \ No newline at end of file +customElements.define('mc-diorama', MCDioramaElement);