JS fix gradle example

This commit is contained in:
Sergey Mashkov
2015-05-14 23:51:46 +03:00
parent a93cc083d6
commit 771af78b06
@@ -7,12 +7,12 @@ import example.library.Counter
fun main(args: Array<String>) {
val el = document.createElement("div")
el.appendChild(document.createTextNode("Hello!"))
document.body.appendChild(el)
document.body!!.appendChild(el)
val counterDiv = document.createElement("div")
val counterText = document.createTextNode("Counter!")
counterDiv.appendChild(counterText)
document.body.appendChild(counterDiv)
document.body!!.appendChild(counterDiv)
val counter = Counter(counterText)
counter.start()