forked from trent_larson/crowd-funder-for-time-pwa
Update 'src/views/StatisticsView.vue'
Clean up spurious comment.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user