Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-26 21:50:22 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-26 21:50:22 -0700
commitbcd34e76db0e169b6e6e1b2d3f50cba35666e4e1 (patch)
tree30dbb01efda22215abc7a494f7a96793f786a2f9 /src/modules/game/sightLine.js
parentea3341323a843147e8dc57b8a60a33ff92ec81d9 (diff)
Remove calling firing arc module with 'new'
Diffstat (limited to 'src/modules/game/sightLine.js')
-rw-r--r--src/modules/game/sightLine.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/game/sightLine.js b/src/modules/game/sightLine.js
index ae46265..8c3be37 100644
--- a/src/modules/game/sightLine.js
+++ b/src/modules/game/sightLine.js
@@ -167,10 +167,10 @@ export default function(svg, board) {
}
return {
- draw: draw,
- clear: clear,
- update: update,
- toggleLock: toggleLock,
+ draw,
+ clear,
+ update,
+ toggleLock,
get sightLine() {
return sightLine;