import * as Card from GUI.Card; import dom from GUI.Screen.Game.State; return { make: TurnedCard }; function TurnedCard(name) { var card = Card.make(name); card.dom.id = "turned"; dom.deck.appendChild(card.dom); return card; }