Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 4ceb5e7..90404d9 100644
--- a/src/index.js
+++ b/src/index.js
@@ -41,7 +41,7 @@ document.querySelector('object').addEventListener('load', function () {
window.addEventListener('load', () => {
const svg = document.querySelector('object').contentDocument.querySelector('svg'),
- game = new Game(svg);
+ game = Game(svg);
window.game = game;