Skip to content

Commit

Permalink
Bumped version to 1.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianoAlipi committed Nov 11, 2020
1 parent 825c2f4 commit aa82139
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const VERSION = "1.0.1";

let gameID = -1;
let isHost = false;
let gameState = null;
Expand Down Expand Up @@ -527,6 +529,9 @@ document.addEventListener("DOMContentLoaded", (_) => {
const createNicknameField = document.querySelector("#create-nickname");
const joinNicknameField = document.querySelector("#join-nickname");

// Write the version.
document.querySelector("#version").textContent = `${VERSION}`;

// The buttons' behavior.
document.querySelector('#create-btn').addEventListener('click', (event) => { create_game_handler() });
document.querySelector('#join-btn').addEventListener('click', (event) => { join_game_handler() });
Expand Down

0 comments on commit aa82139

Please sign in to comment.