diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-01-29 20:58:39 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-01-29 20:58:39 +0100 |
commit | d80fcaadad307070509fb6a4e2e41f5929be24ac (patch) | |
tree | a05f744c13c64d3fe0caf70840eb9863ac97be47 /src | |
parent | b6f49d0899265a5b0bcf1b79d5bf11184d446816 (diff) | |
download | kvision-d80fcaadad307070509fb6a4e2e41f5929be24ac.tar.gz kvision-d80fcaadad307070509fb6a4e2e41f5929be24ac.tar.bz2 kvision-d80fcaadad307070509fb6a4e2e41f5929be24ac.zip |
Style fix
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/Form.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/Form.kt b/src/main/kotlin/pl/treksoft/kvision/form/Form.kt index ac3dfab7..1f97311d 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/Form.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/Form.kt @@ -110,5 +110,6 @@ fun Map<String, Any?>.date(key: String): Date? = this[key] as? Date fun Map<String, Any?>.asJson(): Json { val array = this.entries.map { it.component1() to it.component2() }.toTypedArray() + @Suppress("SpreadOperator") return kotlin.js.json(*array) } |