X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=views%2Fvariant.pug;fp=views%2Fvariant.pug;h=c7f4e55f399d7a550a3e9621f941b9dac79c6937;hb=d44df0b01732d1948525daef5df62211ea6e1f64;hp=490a13aefc4b515da0a04cb25b0ec2746a0a8e9b;hpb=81bc1102368a5a8b9358f58b77c241f82f3c2c4b;p=vchess.git diff --git a/views/variant.pug b/views/variant.pug index 490a13ae..c7f4e55f 100644 --- a/views/variant.pug +++ b/views/variant.pug @@ -30,8 +30,10 @@ block content //my-game-list(v-show="display=='gameList'") //my-rules(v-show="display=='rules'") //my-problems(v-show="display=='problems'") - //my-game(v-show="display=='game'" :gameId="gameid") - my-board(:vr="vr" :mode="mode" :orientation="orientation" + my-game(v-show="display=='game'" :game-id="gameid" :conn="conn" + :allow-chat="allowChat" :allow-movelist="allowMovelist" + :mode="mode" :fen="fen") + //my-board(:vr="vr" :mode="mode" :orientation="orientation" :user-color="userColor" v-on:play-move="play") block javascripts @@ -50,5 +52,5 @@ block javascripts script(src="/javascripts/components/board.js") //script(src="/javascripts/components/problemPreview.js") //script(src="/javascripts/components/problems.js") - //script(src="/javascripts/components/game.js") + script(src="/javascripts/components/game.js") script(src="/javascripts/variant.js")