Compare commits
3 Commits
0d31433b96
...
54d1229c9f
| Author | SHA1 | Date | |
|---|---|---|---|
| 54d1229c9f | |||
| 4acfc0911a | |||
| 6968a732d8 |
2
Go.elm
2
Go.elm
@@ -20,7 +20,7 @@ initDummy : (Model, Cmd Msg)
|
||||
initDummy = (Model
|
||||
Black
|
||||
"ws://localhost:3000"
|
||||
1
|
||||
"debug"
|
||||
9
|
||||
Nothing
|
||||
Nothing
|
||||
|
||||
@@ -10,7 +10,7 @@ type alias Update = (Color, List Cell)
|
||||
type alias Model =
|
||||
{ sessionColor : Color
|
||||
, sessionUrl : String
|
||||
, sessionId : Int
|
||||
, sessionId : String
|
||||
, sessionSize : Int
|
||||
|
||||
, error : Maybe String
|
||||
@@ -21,7 +21,7 @@ type alias Model =
|
||||
type alias Flags =
|
||||
{ black : Bool
|
||||
, url : String
|
||||
, id : Int
|
||||
, id : String
|
||||
, size : Int
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ renderIndex (index, color) =
|
||||
div [ classList [ ("board-cell", True), extraClass ]
|
||||
, onClick (Place index)
|
||||
]
|
||||
[
|
||||
[ div [ class "overlay" ] []
|
||||
]
|
||||
|
||||
renderBoard : Int -> Board -> Html Msg
|
||||
|
||||
Reference in New Issue
Block a user