aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/snabbdom
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/snabbdom
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/snabbdom')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/snabbdom/Types.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/snabbdom/Types.kt b/src/main/kotlin/pl/treksoft/kvision/snabbdom/Types.kt
index dc6877a1..f1a79a76 100644
--- a/src/main/kotlin/pl/treksoft/kvision/snabbdom/Types.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/snabbdom/Types.kt
@@ -21,6 +21,7 @@ fun obj(init: dynamic.() -> Unit): dynamic {
@Suppress("UnsafeCastFromDynamic")
private fun vNodeData(): VNodeData = js("({})")
+@Suppress("UnsafeCastFromDynamic")
class KvEvent(type: String, eventInitDict: CustomEventInit) : CustomEvent(type, eventInitDict) {
override val detail: JQueryEventObject = obj({})
}