diff --git a/uibench/index.html b/uibench/index.html index 6b3e9c0..bc77eb5 100644 --- a/uibench/index.html +++ b/uibench/index.html @@ -9,5 +9,8 @@
+ +
+ \ No newline at end of file diff --git a/uibench/nim_uibench.nim b/uibench/nim_uibench.nim index 44da28f..4c2b467 100644 --- a/uibench/nim_uibench.nim +++ b/uibench/nim_uibench.nim @@ -41,12 +41,11 @@ proc createTableCell(id: cstring): VNode = result = buildHtml(td(className="TableCell", onclick=tableCellClick)): text id - proc createTableRow(item: TableItemState): VNode = var children = createTableCell("#" & &item.id) for i in 0.." & toJson(samples) & cstring"" - redraw() + #document.body.innerHTML = cstring"
" & toJson(samples) & cstring"
" + #redraw() + discard kout cstring"updating" setRenderer update