diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-02-27 15:28:16 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-02-27 15:28:16 +0100 |
commit | e4b5290e4898858612da882d9186b2aba548a9d9 (patch) | |
tree | b9bbd4dbba14953fd9fba011b2c7f1e629c307d9 /kvision-modules/kvision-bootstrap-datetime | |
parent | bff6c721074bda50e2d5a23d8aa96bf1f939f62a (diff) | |
download | kvision-e4b5290e4898858612da882d9186b2aba548a9d9.tar.gz kvision-e4b5290e4898858612da882d9186b2aba548a9d9.tar.bz2 kvision-e4b5290e4898858612da882d9186b2aba548a9d9.zip |
Remove deprecated methods.
Style fixes.
Diffstat (limited to 'kvision-modules/kvision-bootstrap-datetime')
-rw-r--r-- | kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt b/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt index 4f3f3f48..6d687bb9 100644 --- a/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt +++ b/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt @@ -221,12 +221,6 @@ open class DateTime( return input.setEventListener(block) } - @Deprecated("Use onEvent extension function instead.", ReplaceWith("onEvent(block)", "pl.treksoft.kvision.core.onEvent")) - override fun setEventListener(block: SnOn<Widget>.() -> Unit): Int { - @Suppress("DEPRECATION") - return input.setEventListener(block) - } - override fun removeEventListener(id: Int): Widget { input.removeEventListener(id) return this |