allow the JS compiler to reference the JS library source so that maven based JS compilation can work & use the new kotlin.browser API
This commit is contained in:
@@ -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 Contenet!!!"))
|
||||
element.appendChild(document.createTextNode("Some Dynamically Created Content!!!"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user