aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/panel
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-25 20:46:42 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-25 20:46:42 +0200
commitc78775aa2aaf76f9fa1404ff32a10fb8227f380e (patch)
treea6991e1f520e1ce54679b2194a756203a645f99e /src/main/kotlin/pl/treksoft/kvision/panel
parenta990385dd3f2dbac4807b7a9498271efb3519c0d (diff)
downloadkvision-c78775aa2aaf76f9fa1404ff32a10fb8227f380e.tar.gz
kvision-c78775aa2aaf76f9fa1404ff32a10fb8227f380e.tar.bz2
kvision-c78775aa2aaf76f9fa1404ff32a10fb8227f380e.zip
Style fixes
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/panel/Root.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt b/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt
index 111d4738..8847a3c6 100644
--- a/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt
@@ -222,6 +222,7 @@ class Root : SimplePanel {
* @param init an initializer extension function
* @return the created Root container
*/
+@Suppress("unused")
fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root {
return Root(id, fixed, init)
}
@@ -234,6 +235,7 @@ fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit):
* @param init an initializer extension function
* @return the created Root container
*/
+@Suppress("unused")
fun Application.root(element: HTMLElement, fixed: Boolean = false, init: Root.() -> Unit): Root {
return Root(element, fixed, init)
}