Browse Source

Update 'src/views/StatisticsView.vue'

Clean up spurious comment.
kb/add-usage-guide
anomalist 1 year ago
parent
commit
59a354027e
  1. 10
      src/views/StatisticsView.vue

10
src/views/StatisticsView.vue

@ -39,15 +39,7 @@
:alertMessage="alertMessage"
></AlertMessage>
</section>
</template> /**
// from https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob#examples
// Adds a blank image const dataBlob = document
.querySelector("#scene-container") .firstChild.toBlob((blob) => { const newImg =
document.createElement("img"); const url = URL.createObjectURL(blob);
newImg.onload = () => { // no longer need to read the blob so it's revoked
URL.revokeObjectURL(url); }; newImg.src = url;
document.body.appendChild(newImg); }); **/
</template>
<script lang="ts">
import { SVGRenderer } from "three/addons/renderers/SVGRenderer.js";
import { Component, Vue } from "vue-facing-decorator";

Loading…
Cancel
Save