diff --git a/go-test-app-02/index.js b/go-test-app-02/index.js index 807e8ae..b1ba00b 100644 --- a/go-test-app-02/index.js +++ b/go-test-app-02/index.js @@ -8,9 +8,6 @@ let loading = load([ "../index.css?" + document.querySelector('script[src*="index.js"]').src.split('?').pop(), ]); -// remove all default inline styles -document.querySelectorAll('style').forEach((el) => el.remove()) - // wait for the page to fully load document.addEventListener('DOMContentLoaded', main) @@ -66,11 +63,15 @@ function configureIncrementalButton() { } function configureSelectFix() { - document.getElementById('files').addEventListener('change', (e) => { + let files = document.getElementById('files') + + files.addEventListener('change', (e) => { document.querySelectorAll('.file').forEach((el) => el.style.display = 'none') window.scrollTo(0, 0) setTimeout(() => document.getElementById(e.target.value).style.display = 'block', 1) }) + + files.dispatchEvent(new Event('change')) } function configureTheme() { diff --git a/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.html b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.html new file mode 100644 index 0000000..a1e7eb8 --- /dev/null +++ b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.html @@ -0,0 +1,40 @@ + + + + + + + + + Go Coverage Report + + + +
+ +
+ not tracked + + no coverage + low coverage + * + * + * + * + * + * + * + * + high coverage + +
+
+
+ +
+ + diff --git a/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.out b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.out new file mode 100644 index 0000000..5f02b11 --- /dev/null +++ b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.out @@ -0,0 +1 @@ +mode: set diff --git a/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.txt b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.txt new file mode 100644 index 0000000..004bfa1 --- /dev/null +++ b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617-inc.txt @@ -0,0 +1 @@ +total: (statements) 0.0% diff --git a/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.html b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.html new file mode 100644 index 0000000..fe4020a --- /dev/null +++ b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.html @@ -0,0 +1,69 @@ + + + + + + + + + cointoss: Go Coverage Report + + + +
+ +
+ not tracked + + not covered + covered + +
+
+
+ + + +
+ + diff --git a/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.out b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.out new file mode 100644 index 0000000..0a1ec91 --- /dev/null +++ b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.out @@ -0,0 +1,11 @@ +mode: set +cointoss/main.go:10.13,11.27 1 1 +cointoss/main.go:11.27,13.3 1 1 +cointoss/main.go:13.8,15.3 1 0 +cointoss/main.go:17.2,17.32 1 1 +cointoss/main.go:20.24,21.23 1 1 +cointoss/main.go:21.23,23.3 1 1 +cointoss/main.go:23.8,25.3 1 0 +cointoss/main.go:28.19,29.21 1 1 +cointoss/main.go:29.21,31.3 1 1 +cointoss/main.go:31.8,33.3 1 0 diff --git a/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.txt b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.txt new file mode 100644 index 0000000..7713fd1 --- /dev/null +++ b/go-test-app-02/revisions/0f34eb3c1d33c93a11696579466761ab7b450617.txt @@ -0,0 +1,4 @@ +cointoss/main.go:10: main 75.0% +cointoss/main.go:20: tossCoin 66.7% +cointoss/main.go:28: maybe 66.7% +total: (statements) 70.0%