aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-09-25 10:30:25 +0200
committerRobert Jaros <rjaros@finn.pl>2017-09-25 10:31:27 +0200
commit089447dd370314276531836e39afa2224eb8f6b8 (patch)
treece26e9cee19bcdae06fb7c39a1b1fab344dce95d /src/main/kotlin/pl/treksoft/kvision/Showcase.kt
parent726a42ad5643840f84c289c9a6b56d6c3c9067b4 (diff)
downloadkvision-089447dd370314276531836e39afa2224eb8f6b8.tar.gz
kvision-089447dd370314276531836e39afa2224eb8f6b8.tar.bz2
kvision-089447dd370314276531836e39afa2224eb8f6b8.zip
Code style fixes
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()
}
}