added more working DOM test cases for JS

This commit is contained in:
James Strachan
2012-07-03 19:54:32 +01:00
parent 81c764daf8
commit ffffe84fcb
7 changed files with 87 additions and 26 deletions
+4 -3
View File
@@ -11,6 +11,7 @@ native public val Node.outerHTML: String
get() = js.noImpl
/** Converts the node to an XML String */
public fun Node.toXmlString(xmlDeclaration: Boolean = false): String {
return this.outerHTML
}
public fun Node.toXmlString(): String = this.outerHTML
/** Converts the node to an XML String */
public fun Node.toXmlString(xmlDeclaration: Boolean): String = this.outerHTML