useless component, css fluff, comments

This commit is contained in:
Ali Gator 2022-01-11 17:21:41 +01:00
parent 93f9426f56
commit 9613f023b1
3 changed files with 7 additions and 10 deletions

View File

@ -1,9 +0,0 @@
<template>
<div class="form-field" v-if="type === 'checkbox'">
<label>{{ name }}
<input type="checkbox" name="{{ name }}">
</label>
</div>
<div class="form-field" v-else-if="type === ''">
</div>
</template>

View File

@ -40,6 +40,11 @@ export default {
margin: 0 0 10px 0;
}
select {
margin-top: 10px;
padding: 5px;
}
input[type="button"] {
min-width: 60px;
padding: 5px;

View File

@ -73,6 +73,7 @@ function conwayRules(cell, neighbors) {
}
// get the next evolution of a 2D CA initial state
// Rules : Moore neighborhood
function evolve2d(board, rulesFn) {
return board.map((row, x) => row.map((cell, y) => {
const neighbors = getCellNeighbors(board, [x, y]);