JS: example library to use new library format

This commit is contained in:
Sergey Mashkov
2015-05-19 15:51:10 +03:00
parent 4ef745974e
commit 09e7e0da4d
3 changed files with 2 additions and 4 deletions
@@ -5,6 +5,6 @@ import kotlin.browser.document
fun myApp() {
val element = document.getElementById("foo")
if (element != null) {
element.appendChild(document.createTextNode("Some Dynamically Created Content!!!")!!)
element.appendChild(document.createTextNode("Some Dynamically Created Content!!!"))
}
}