JS make NodeListAsList field private

This commit is contained in:
Sergey Mashkov
2015-05-14 14:33:37 +03:00
parent 425efa3ae1
commit 7045140d11
+1 -1
View File
@@ -208,7 +208,7 @@ public fun Node.removeFromParent() {
parentNode?.removeChild(this)
}
private class NodeListAsList(val delegate: NodeList) : AbstractList<Node>() {
private class NodeListAsList(private val delegate: NodeList) : AbstractList<Node>() {
override fun size(): Int = delegate.length
override fun get(index: Int): Node = when {