diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-04 23:54:19 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-04 23:54:19 +0100 |
commit | 726751c145b33f82e024787fa7aafcc861712712 (patch) | |
tree | 32520942c0ae656469fa1c3d38b5eaf371146635 /src/main/kotlin/pl/treksoft/kvision/panel | |
parent | d2b955c9d976e0dca830de9063a78b559a2acac7 (diff) | |
download | kvision-726751c145b33f82e024787fa7aafcc861712712.tar.gz kvision-726751c145b33f82e024787fa7aafcc861712712.tar.bz2 kvision-726751c145b33f82e024787fa7aafcc861712712.zip |
Style fixes.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/panel/Root.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt b/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt index d81b103d..8223023e 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt @@ -54,7 +54,7 @@ class Root(id: String, private val fixed: Boolean = false, init: (Root.() -> Uni } override fun render(): VNode { - return render("div#" + id, childrenVNodes() + modalsVNodes()) + return render("div#$id", childrenVNodes() + modalsVNodes()) } internal fun addModal(modal: Modal) { diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt index 3c7acbe5..178baddf 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt @@ -120,7 +120,7 @@ internal class Splitter(private val splitPanel: SplitPanel, direction: Direction TAG.DIV, classes = setOf("splitter-" + direction.dir) ) { - private val idc = "kv_splitter_" + counter + private val idc = "kv_splitter_$counter" init { counter++ |