conversion from Java to Scala
This commit is contained in:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user