diff options
author | Brian Cully <bjc@kublai.com> | 2021-02-19 12:42:11 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2021-02-19 12:42:11 -0500 |
commit | 0a703e8f463dfadcf102e0b553d798b8046b03ee (patch) | |
tree | 791775233693855907d6bbc79c5c0846426c6611 /main.mjs | |
parent | 555e3faea8d3cc8ae5764876fe957039cdc0d431 (diff) | |
download | molsim2-0a703e8f463dfadcf102e0b553d798b8046b03ee.tar.gz molsim2-0a703e8f463dfadcf102e0b553d798b8046b03ee.zip |
Add amino acid selection after mutation.
Diffstat (limited to 'main.mjs')
-rw-r--r-- | main.mjs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ import Rules from './rules.mjs' function init() { const genomeList = document.querySelector('#genome-history') const die = document.querySelector('#die') + const aminoAcidSelector = document.querySelector('#amino-acid-selector') const nucleotideSelector = document.querySelector('#nucleotide-selector') const instructions = document.querySelector('#instructions') const cloneButton = document.querySelector('#clone') @@ -10,7 +11,7 @@ function init() { const printButton = document.querySelector('#print') const errors = document.querySelector('#errors') - const rules = new Rules(die, instructions, genomeList, nucleotideSelector, cloneButton, remainingIterations, printButton, errors) + const rules = new Rules(die, instructions, genomeList, aminoAcidSelector, nucleotideSelector, cloneButton, remainingIterations, printButton, errors) } init() |