diff --git a/canvas.js b/canvas.js index 66274df..c16cc6f 100644 --- a/canvas.js +++ b/canvas.js @@ -4,6 +4,7 @@ */ /** @type {HTMLCanvasElement} */ +const document = window.document; export const canvas = document.getElementById('scene'); /** @type {CanvasRenderingContext2D} */