Browse Source

refactoring: Kommentare in uno.js hinzugefügt

+ Kommentar in Card.js Exportieren
main
Nicolas Fritz 2 years ago
parent
commit
618feff5f9
  1. 1
      uno/js/cards/Card.js
  2. 2
      uno/js/uno.js

1
uno/js/cards/Card.js

@ -34,4 +34,5 @@ class Card {
} }
//Exportiert Modul Card
module.exports = Card; module.exports = Card;

2
uno/js/uno.js

@ -1,5 +1,7 @@
//Legt mögliche Farben fest, "NONE" sind Auswahlkarten
const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"]; const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"];
//Exportiert CARD_COLORS
module.exports = { module.exports = {
CARD_COLORS: CARD_COLORS, CARD_COLORS: CARD_COLORS,
} }
Loading…
Cancel
Save