Skip to content

Commit

Permalink
fix false icon & bump dist to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Xander Jones committed Aug 17, 2021
1 parent 7896758 commit 40f7278
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bundle.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html><head><meta charset="utf-8"><title>Game of Life</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body {
<!doctype html><html lang="en" xml:lang="en"><head><meta charset="utf-8"><title>Game of Life</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body {
font-family: 'IBM Plex Sans', sans-serif;
text-align: left;
background: rgb(238, 238, 238);
Expand Down Expand Up @@ -32,7 +32,7 @@
padding-bottom:10px;
border-bottom:1px solid black;
}
#gol {
#golDiv {
padding-bottom:10px;
margin-bottom:10px;
border-bottom:1px solid black;
Expand All @@ -45,6 +45,7 @@
}
#tableGol td, tr {
min-width:16px;
text-align:center;
text-align: center;
vertical-align: middle;
padding:0px;
}</style><script defer="defer" src="bundle.js"></script></head><body><div id="centralContainer"><div id="controls"><span class="title">Game of Life</span> <span class="subtitle" id="version">vx.x.x</span><br/><span class="subtitle">Xander Jones</span><br/><br/><button id="resetBtn">Reset</button> <button id="nextGenerationBtn">Next Generation</button> <input type="checkbox" id="autoNextGeneration">Auto</div><div id="gol"></div>Cells alive: <span id="cellsAliveCount">--</span></div></body></html>
}</style><script defer="defer" src="bundle.js"></script></head><body><div id="centralContainer"><div id="controls"><span class="title">Game of Life</span> <span class="subtitle" id="version">vx.x.x</span><br/><span class="subtitle">Xander Jones</span><br/><br/><button id="resetBtn">Reset</button> <select name="patternSelector" id="patternSelector"><option value="">random</option></select> | <button id="nextGenerationBtn">Next Generation</button> <input type="checkbox" id="autoNextGeneration">Auto</div><div id="golDiv"></div>Cells alive: <span id="cellsAliveCount">--</span><br/>Generation: <span id="generationCount">--</span></div></body></html>
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class GameOfLife {
cell.appendChild(document.createTextNode("■"));
this.cellsAlive += 1;
} else {
cell.appendChild(document.createTextNode("_"));
cell.appendChild(document.createTextNode(""));
}
}
}
Expand Down

0 comments on commit 40f7278

Please sign in to comment.