added a working JS test case using the standard kotlin browser API for interacting with the DOM

This commit is contained in:
James Strachan
2012-05-25 20:38:04 +01:00
parent 3702bdea70
commit adf38a0648
7 changed files with 105 additions and 12 deletions
+1
View File
@@ -18,6 +18,7 @@ native public trait DOMImplementation {}
native public trait DocumentType : Node {}
native public trait Element : Node {
fun appendChild(child : Node) : Unit = js.noImpl
fun getTextContent() : String = js.noImpl
}
native public trait Entity : Node {}
native public trait EntityReference : Node {}