From 1aefed336f9ef305f59d3668abc8a39c550e921d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 21 Feb 2018 13:32:31 +0100 Subject: Small style fixes contributed by tieskedh --- src/main/kotlin/pl/treksoft/kvision/KVManager.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/KVManager.kt') 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) { -- cgit