diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-21 13:32:31 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-21 13:35:55 +0100 |
commit | 1aefed336f9ef305f59d3668abc8a39c550e921d (patch) | |
tree | 5eb468ac855b58718a4c15d86bd9915e64769278 /src/main/kotlin/pl/treksoft/kvision/KVManager.kt | |
parent | f88c59c04d9f7053a8a97b0c65a282f961913f1b (diff) | |
download | kvision-1aefed336f9ef305f59d3668abc8a39c550e921d.tar.gz kvision-1aefed336f9ef305f59d3668abc8a39c550e921d.tar.bz2 kvision-1aefed336f9ef305f59d3668abc8a39c550e921d.zip |
Small style fixes contributed by tieskedh
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/KVManager.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/KVManager.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt index f0438232..4ba518b5 100644 --- a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt +++ b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt @@ -41,6 +41,7 @@ external fun require(name: String): dynamic /** * Internal singleton object which initializes and configures KVision framework. */ +@Suppress("EmptyCatchBlock") internal object KVManager { internal const val AJAX_REQUEST_DELAY = 300 internal const val KVNULL = "#kvnull" @@ -77,8 +78,6 @@ internal object KVManager { require("ajax-bootstrap-select/dist/js/ajax-bootstrap-select.min.js") } catch (e: Throwable) { } - // private val bootstrapSelectAjaxI18n = -// require("ajax-bootstrap-select/dist/js/locale/ajax-bootstrap-select.pl-PL.min.js") private val trixCss = try { require("trix/dist/trix.css") } catch (e: Throwable) { |