Showing 1 of 2 files from the diff.
Other files ignored by Codecov
Project.toml has changed.

@@ -3,6 +3,7 @@
Loading
3 3
export electrondisplay
4 4
5 5
using Electron, Base64, Markdown
6 +
using ConstructionBase: setproperties
6 7
7 8
import IteratorInterfaceExtensions, TableTraits, TableShowUtils
8 9
@@ -12,29 +13,12 @@
Loading
12 13
    focus::Bool = true
13 14
end
14 15
15 -
"""
16 -
    setconfig(config; kwargs...)
17 -
18 -
Update a copy of `config` based on `kwargs`.
19 -
"""
20 -
setconfig(
21 -
    config::ElectronDisplayConfig;
22 -
    showable = config.showable,
23 -
    single_window::Bool = config.single_window,
24 -
    focus::Bool = config.focus,
25 -
) =
26 -
    ElectronDisplayConfig(
27 -
        showable = showable,
28 -
        single_window = single_window,
29 -
        focus = focus,
30 -
    )
31 -
32 16
struct ElectronDisplayType <: Base.AbstractDisplay
33 17
    config::ElectronDisplayConfig
34 18
end
35 19
36 20
ElectronDisplayType() = ElectronDisplayType(CONFIG)
37 -
newdisplay(; config...) = ElectronDisplayType(setconfig(CONFIG; config...))
21 +
newdisplay(; config...) = ElectronDisplayType(setproperties(CONFIG; config...))
38 22
39 23
electron_showable(m, x) =
40 24
    m ∉ ("application/vnd.dataresource+json", "text/html", "text/markdown") &&
Files Coverage
src 80.58%
Project Totals (2 files) 80.58%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading