From 618feff5f9ea500b01f0393dea7dff87f7b1d745 Mon Sep 17 00:00:00 2001 From: Nicolas Fritz Date: Wed, 18 Jan 2023 19:46:11 +0100 Subject: [PATCH] =?UTF-8?q?refactoring:=20Kommentare=20in=20uno.js=20hinzu?= =?UTF-8?q?gef=C3=BCgt=20+=20Kommentar=20in=20Card.js=20Exportieren?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uno/js/cards/Card.js | 1 + uno/js/uno.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/uno/js/cards/Card.js b/uno/js/cards/Card.js index 2cf0347..8e0a0f2 100644 --- a/uno/js/cards/Card.js +++ b/uno/js/cards/Card.js @@ -34,4 +34,5 @@ class Card { } +//Exportiert Modul Card module.exports = Card; \ No newline at end of file diff --git a/uno/js/uno.js b/uno/js/uno.js index d309a03..9a94c5f 100644 --- a/uno/js/uno.js +++ b/uno/js/uno.js @@ -1,5 +1,7 @@ +//Legt mögliche Farben fest, "NONE" sind Auswahlkarten const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"]; +//Exportiert CARD_COLORS module.exports = { CARD_COLORS: CARD_COLORS, } \ No newline at end of file