fix deprecated stuff (#144)

This commit is contained in:
Miran 2020-04-27 10:59:54 +02:00 • committed by GitHub
commit 80f500874b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import random
proc createDom(): VNode =
result = buildHtml(tdiv):
if random(100) <= 50:
if rand(100) <= 50:
text "Hello World!"
else:
text "Hello Universe"