diff options
author | Joris | 2015-11-13 22:09:10 +0100 |
---|---|---|
committer | Joris | 2015-11-13 22:09:10 +0100 |
commit | 6a69c596d8cc2c8b7ac1f763cf63e5e3a0e260e9 (patch) | |
tree | f624cf00a11926c4a7a809ee71444c1916d6312d /src/View/Page.elm | |
parent | eef0cf46c150cd12e783aa8dc62f825a59757855 (diff) |
Display the game with svg
Diffstat (limited to 'src/View/Page.elm')
-rw-r--r-- | src/View/Page.elm | 5 |
1 files changed, 3 insertions, 2 deletions
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." ] |