diff options
-rw-r--r-- | js-ver.org | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -92,6 +92,8 @@ start a python http server with: set up the javascript code by loading direct module dependencies and running the analysis when the form is submitted. #+begin_src javascript :noweb yes :tangle main.mjs + <<js-license>> + import process from './varscan.mjs'; import Log from './logging.mjs'; @@ -248,7 +250,9 @@ create a download link #+end_src ** variant to codon whatever i need to name this -#+begin_src javascript :tangle varscan.mjs +#+begin_src javascript :noweb yes :tangle varscan.mjs + <<js-license>> + import Log from './logging.mjs'; import codon2AA from './codon2AminoAcid.mjs'; import aa2Code from './aminoAcid2Code.mjs'; @@ -352,6 +356,8 @@ create a download link :END: #+begin_src javascript :noweb yes :tangle codon2AminoAcid.mjs + <<js-license>> + const codon2AA = { 'GCT': 'Ala', 'GCC': 'Ala', @@ -428,6 +434,8 @@ create a download link :END: #+begin_src javascript :noweb yes :tangle aminoAcid2Code.mjs + <<js-license>> + const aa2Code = { 'Ala': 'A', 'Arg': 'R', @@ -457,6 +465,8 @@ create a download link ** logging #+begin_src javascript :noweb yes :tangle logging.mjs + <<js-license>> + class Log { get elt() { if (!document.querySelector('#log')) { @@ -511,3 +521,21 @@ create a download link export default Log #+end_src + +** license +#+name: js-license +#+begin_src javascript + /* + ,* copyright 2024 brian cully <bjc@kublai.com> + ,* + ,* this program is free software: you can redistribute it and/or + ,* modify it under the terms of the gnu affero general public license + ,* version 3 or later. + ,* + ,* a copy of this license may be found at https://www.gnu.org/licenses/agpl-3.0.html + ,* + ,* dear gnu developers: stop making your software so hard to work + ,* with. i was going to put in librejs tags, but it's like it goes out + ,* of its way to make that as annoying as possible. + ,*/ +#+end_src |