From 6a69c596d8cc2c8b7ac1f763cf63e5e3a0e260e9 Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 13 Nov 2015 22:09:10 +0100 Subject: Display the game with svg --- src/View/Page.elm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/View/Page.elm') diff --git a/src/View/Page.elm b/src/View/Page.elm index 3468019..54f5925 100644 --- a/src/View/Page.elm +++ b/src/View/Page.elm @@ -13,7 +13,7 @@ import Json.Encode exposing (string) import Model.Game exposing (Game) import Model.Round exposing (..) -import View.Game exposing (gameView) +import View.Game exposing (gameView, render) import View.Round exposing (roundView) pageView : Game -> Html @@ -23,7 +23,8 @@ pageView game = [ h1 [] [ text "cAtchVoid" ] , div [ id "game" ] - [ fromElement <| gameView game ] + -- [ fromElement <| render game ] + [ render game ] , p [] [ text "Catch the points of your color, avoid the other points." ] -- cgit v1.2.3