aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/Showcase.kt')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/Showcase.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
index 9ac623a8..283a9236 100644
--- a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
@@ -175,9 +175,9 @@ class Showcase : ApplicationBase() {
root.add(button3)
println("init routing")
- routing.on({ -> println("root") })
- .on("/abc", { -> println("abc") })
- .on("/test", { -> println("test") })
+ routing.on({ _ -> println("root") })
+ .on("/abc", { _ -> println("abc") })
+ .on("/test", { _ -> println("test") })
.resolve()
// jQuery(document).off(".data-api")
@@ -204,6 +204,6 @@ class Showcase : ApplicationBase() {
}
override fun dispose(): Map<String, Any> {
- return mapOf<String, Any>()
+ return mapOf()
}
}