Skip to content

Commit f9fa891

Browse files
author
Avaer Kazmer
committed
Dead code cleanup
1 parent bef9807 commit f9fa891

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3108,15 +3108,6 @@
31083108
console.log('time taken', Date.now() - start);
31093109

31103110
accept(result);
3111-
3112-
/* const canvas = document.createElement('canvas');
3113-
canvas.width = result.width;
3114-
canvas.height = result.height;
3115-
canvas.style.width = `${result.width}px`;
3116-
canvas.style.height = `${result.height}px`;
3117-
const ctx = canvas.getContext('bitmaprenderer');
3118-
ctx.transferFromImageBitmap(result);
3119-
document.body.insertBefore(canvas, document.body.childNodes[0]); */
31203111
} else {
31213112
reject(error);
31223113
}

0 commit comments

Comments
 (0)