From 885ecd28153b484277c9ddcbf4a7f9d761a59545 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Mon, 27 Jan 2020 09:34:16 +0100 Subject: Unifing model for pages with content ant technical renderer specific pages --- core/src/main/kotlin/utilities/nodeDebug.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/main/kotlin/utilities') diff --git a/core/src/main/kotlin/utilities/nodeDebug.kt b/core/src/main/kotlin/utilities/nodeDebug.kt index 984f13ed..0e8c61f7 100644 --- a/core/src/main/kotlin/utilities/nodeDebug.kt +++ b/core/src/main/kotlin/utilities/nodeDebug.kt @@ -34,7 +34,7 @@ fun Documentable.pretty(prefix: String = "", isLast: Boolean = true): String { //} private fun Any.stringify() = when(this) { is ContentNode -> toString() + this.dci - is PageNode -> this.name + this::class.simpleName + is ContentPage -> this.name + this::class.simpleName else -> toString() } //private fun Any.allChildren() = when(this){ -- cgit