Minify code
This commit is contained in:
parent
023c725aae
commit
c091e5c808
1 changed files with 3 additions and 27 deletions
|
@ -142,33 +142,9 @@ export function MenuBar(game)
|
|||
return [
|
||||
"div",
|
||||
{ className: "menu-bar" },
|
||||
[
|
||||
Button,
|
||||
[
|
||||
"New Game",
|
||||
{
|
||||
className: newGameClass
|
||||
}
|
||||
]
|
||||
],
|
||||
[
|
||||
Button,
|
||||
[
|
||||
"Save Game",
|
||||
{
|
||||
className: saveGameClass
|
||||
}
|
||||
]
|
||||
],
|
||||
[
|
||||
Button,
|
||||
[
|
||||
"Load Game",
|
||||
{
|
||||
className: loadGameClass
|
||||
}
|
||||
]
|
||||
]
|
||||
[Button, ["New Game", { className: newGameClass }]],
|
||||
[Button, ["Save Game", { className: saveGameClass }]],
|
||||
[Button, ["Load Game", { className: loadGameClass }]]
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue