From 089447dd370314276531836e39afa2224eb8f6b8 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 25 Sep 2017 10:30:25 +0200 Subject: Code style fixes --- src/main/kotlin/pl/treksoft/kvision/Showcase.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/Showcase.kt') 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 { - return mapOf() + return mapOf() } } -- cgit