aboutsummaryrefslogtreecommitdiff
path: root/src/View/Page.elm
diff options
context:
space:
mode:
authorJoris2015-11-13 22:09:10 +0100
committerJoris2015-11-13 22:09:10 +0100
commit6a69c596d8cc2c8b7ac1f763cf63e5e3a0e260e9 (patch)
treef624cf00a11926c4a7a809ee71444c1916d6312d /src/View/Page.elm
parenteef0cf46c150cd12e783aa8dc62f825a59757855 (diff)
downloadcatchvoid-6a69c596d8cc2c8b7ac1f763cf63e5e3a0e260e9.tar.gz
catchvoid-6a69c596d8cc2c8b7ac1f763cf63e5e3a0e260e9.tar.bz2
catchvoid-6a69c596d8cc2c8b7ac1f763cf63e5e3a0e260e9.zip
Display the game with svg
Diffstat (limited to 'src/View/Page.elm')
-rw-r--r--src/View/Page.elm5
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." ]