"js" -> "kotlin.js"

This commit is contained in:
Zalim Bashorov
2014-09-11 16:33:01 +04:00
parent b28b0046d1
commit 838c384672
50 changed files with 171 additions and 228 deletions
@@ -1,6 +1,6 @@
package test.browser
import js.dom.html.document
import kotlin.js.dom.html.document
import org.w3c.dom.Node
fun box(): String {
@@ -10,4 +10,4 @@ fun box(): String {
if (textNode.nodeType != Node.TEXT_NODE) return "The type of the node is ${textNode.nodeType}, ${Node.TEXT_NODE} was expected"
if (element.nodeType != Node.ELEMENT_NODE) return "The type of the node is ${element.nodeType}, ${Node.ELEMENT_NODE} was expected"
return element.textContent
}
}