projects
/
empires-server
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493acb2
)
Drop the meta property from the game exports object.
author
Carl Worth
<cworth@cworth.org>
Mon, 1 Jun 2020 01:04:38 +0000
(18:04 -0700)
committer
Carl 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
patch
|
blob
|
history
tictactoe.js
patch
|
blob
|
history
diff --git
a/empires.js
b/empires.js
index cb7571d67ef3ff81934593cf76c8b5c407c65ce6..5053b61581ec53ec6d308dabf4319c9dfdf644ec 100644
(file)
--- a/
empires.js
+++ b/
empires.js
@@
-351,5
+351,3
@@
Empires.meta = {
name: "Empires",
identifier: "empires"
};
-
-exports.meta = Empires.meta;
diff --git
a/tictactoe.js
b/tictactoe.js
index aba043c65eba8c1dbe04ef6034c6d54b8fa8fee1..1f559bde50c1a91be83cd2847d6d6cefe990650b 100644
(file)
--- a/
tictactoe.js
+++ b/
tictactoe.js
@@
-65,5
+65,3
@@
TicTacToe.meta = {
name: "Tic Tac Toe",
identifier: "tictactoe"
};
-
-exports.meta = TicTacToe.meta;