aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/KVManager.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt
index b0e9ea6f..40cc1053 100644
--- a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt
@@ -247,7 +247,10 @@ internal object KVManager {
require("handlebars/dist/handlebars.runtime.min.js")
} catch (e: Throwable) {
}
- private val jed = require("jed")
+ private val jed = try {
+ require("jed")
+ } catch (e: Throwable) {
+ }
internal val fecha = require("fecha")
private val sdPatch = Snabbdom.init(
arrayOf(