conversion from Java to Scala

This commit is contained in:
2019-08-10 13:31:44 +01:00
parent 1cc066d3f0
commit 49734bf6d1
42 changed files with 1320 additions and 1584 deletions

View File

@@ -1,6 +1,6 @@
import dom
import htmlutils.tree
import htmlutils.utils
import htmlutils/tree
import htmlutils/utils
import json
import streams
import tables
@@ -25,7 +25,7 @@ type DownloadPanel = ref object
proc newDownloadPanel(parent : Element) : DownloadPanel =
let dp = DownloadPanel()
dp.pkgs = initHashSet[string]()
dp.pkgs = initSet[string]()
htmlTreeAppend(parent):
"div":
classList = ["panel", "panel-default"]