From 9515c4da0749bcc8003f28a3759a418a0194db4b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 2 Oct 2021 22:07:48 -0400 Subject: [PATCH] docs: 6.0 sample HTML report --- doc/sample_html/coverage_html.js | 13 +- ...ml => d_7b071bdc2a35fa80___init___py.html} | 4 +- ...ml => d_7b071bdc2a35fa80___main___py.html} | 4 +- ...ml => d_7b071bdc2a35fa80_backward_py.html} | 4 +- ...html => d_7b071bdc2a35fa80_cogapp_py.html} | 1588 +++++++++-------- ...l => d_7b071bdc2a35fa80_makefiles_py.html} | 4 +- ...=> d_7b071bdc2a35fa80_test_cogapp_py.html} | 18 +- ...d_7b071bdc2a35fa80_test_makefiles_py.html} | 4 +- ..._7b071bdc2a35fa80_test_whiteutils_py.html} | 4 +- ... => d_7b071bdc2a35fa80_whiteutils_py.html} | 4 +- doc/sample_html/index.html | 44 +- doc/sample_html/keybd_closed.png | Bin 112 -> 9004 bytes doc/sample_html/keybd_open.png | Bin 112 -> 9003 bytes doc/sample_html/status.json | 2 +- doc/sample_html/style.css | 8 +- 15 files changed, 849 insertions(+), 852 deletions(-) rename doc/sample_html/{cogapp___init___py.html => d_7b071bdc2a35fa80___init___py.html} (98%) rename doc/sample_html/{cogapp___main___py.html => d_7b071bdc2a35fa80___main___py.html} (98%) rename doc/sample_html/{cogapp_backward_py.html => d_7b071bdc2a35fa80_backward_py.html} (99%) rename doc/sample_html/{cogapp_cogapp_py.html => d_7b071bdc2a35fa80_cogapp_py.html} (80%) rename doc/sample_html/{cogapp_makefiles_py.html => d_7b071bdc2a35fa80_makefiles_py.html} (99%) rename doc/sample_html/{cogapp_test_cogapp_py.html => d_7b071bdc2a35fa80_test_cogapp_py.html} (99%) rename doc/sample_html/{cogapp_test_makefiles_py.html => d_7b071bdc2a35fa80_test_makefiles_py.html} (99%) rename doc/sample_html/{cogapp_test_whiteutils_py.html => d_7b071bdc2a35fa80_test_whiteutils_py.html} (99%) rename doc/sample_html/{cogapp_whiteutils_py.html => d_7b071bdc2a35fa80_whiteutils_py.html} (99%) diff --git a/doc/sample_html/coverage_html.js b/doc/sample_html/coverage_html.js index 27b49b36f..30d3a067f 100644 --- a/doc/sample_html/coverage_html.js +++ b/doc/sample_html/coverage_html.js @@ -29,8 +29,8 @@ coverage.wire_up_help_panel = function () { var koff = $("#keyboard_icon").offset(); var poff = $("#panel_icon").position(); $(".help_panel").offset({ - top: koff.top-poff.top, - left: koff.left-poff.left + top: koff.top-poff.top-1, + left: koff.left-poff.left-1 }); }); $("#panel_icon").click(function () { @@ -311,11 +311,6 @@ coverage.line_elt = function (n) { return $("#t" + n); }; -// Return the nth line number div. -coverage.num_elt = function (n) { - return $("#n" + n); -}; - // Set the selection. b and e are line numbers. coverage.set_sel = function (b, e) { // The first line selected. @@ -514,9 +509,9 @@ coverage.show_selection = function () { var c = coverage; // Highlight the lines in the chunk - $(".linenos .highlight").removeClass("highlight"); + $("#source .highlight").removeClass("highlight"); for (var probe = c.sel_begin; probe > 0 && probe < c.sel_end; probe++) { - c.num_elt(probe).addClass("highlight"); + c.line_elt(probe).addClass("highlight"); } c.scroll_to_selection(); diff --git a/doc/sample_html/cogapp___init___py.html b/doc/sample_html/d_7b071bdc2a35fa80___init___py.html similarity index 98% rename from doc/sample_html/cogapp___init___py.html rename to doc/sample_html/d_7b071bdc2a35fa80___init___py.html index 7159ffdc7..842693669 100644 --- a/doc/sample_html/cogapp___init___py.html +++ b/doc/sample_html/d_7b071bdc2a35fa80___init___py.html @@ -66,8 +66,8 @@

diff --git a/doc/sample_html/cogapp___main___py.html b/doc/sample_html/d_7b071bdc2a35fa80___main___py.html similarity index 98% rename from doc/sample_html/cogapp___main___py.html rename to doc/sample_html/d_7b071bdc2a35fa80___main___py.html index 56cc0db59..3b7d3f548 100644 --- a/doc/sample_html/cogapp___main___py.html +++ b/doc/sample_html/d_7b071bdc2a35fa80___main___py.html @@ -62,8 +62,8 @@

diff --git a/doc/sample_html/cogapp_backward_py.html b/doc/sample_html/d_7b071bdc2a35fa80_backward_py.html similarity index 99% rename from doc/sample_html/cogapp_backward_py.html rename to doc/sample_html/d_7b071bdc2a35fa80_backward_py.html index 0e14b51fe..98c83c3ab 100644 --- a/doc/sample_html/cogapp_backward_py.html +++ b/doc/sample_html/d_7b071bdc2a35fa80_backward_py.html @@ -99,8 +99,8 @@

diff --git a/doc/sample_html/cogapp_cogapp_py.html b/doc/sample_html/d_7b071bdc2a35fa80_cogapp_py.html similarity index 80% rename from doc/sample_html/cogapp_cogapp_py.html rename to doc/sample_html/d_7b071bdc2a35fa80_cogapp_py.html index d0d330b97..283008095 100644 --- a/doc/sample_html/cogapp_cogapp_py.html +++ b/doc/sample_html/d_7b071bdc2a35fa80_cogapp_py.html @@ -3,7 +3,7 @@ - Coverage for cogapp/cogapp.py: 49.34% + Coverage for cogapp/cogapp.py: 49.42% @@ -18,12 +18,12 @@