]> git.cworth.org Git - empires-server/commitdiff
Drop the meta property from the game exports object.
authorCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 01:04:38 +0000 (18:04 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 01:04:38 +0000 (18:04 -0700)
The game's Game class is already a property on the exports object, and
that Game class already has this meta data. So there's no need to copy
it to the exports object as well.

Not to mention, no code is actually referencing it from here.

empires.js
tictactoe.js

index cb7571d67ef3ff81934593cf76c8b5c407c65ce6..5053b61581ec53ec6d308dabf4319c9dfdf644ec 100644 (file)
@@ -351,5 +351,3 @@ Empires.meta = {
   name: "Empires",
   identifier: "empires"
 };
-
-exports.meta = Empires.meta;
index aba043c65eba8c1dbe04ef6034c6d54b8fa8fee1..1f559bde50c1a91be83cd2847d6d6cefe990650b 100644 (file)
@@ -65,5 +65,3 @@ TicTacToe.meta = {
   name: "Tic Tac Toe",
   identifier: "tictactoe"
 };
-
-exports.meta = TicTacToe.meta;