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-upload | |
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-upload')
-rw-r--r-- | kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt b/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt index 3ba635fd..ce885ff3 100644 --- a/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt +++ b/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt @@ -232,12 +232,6 @@ open class Upload( 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 |