diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-08-21 18:50:12 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-08-21 18:50:12 +0200 |
commit | db000e6176e6e49a6a3f6b50ddbb8f0e5ae771a1 (patch) | |
tree | 4e247127d5f286b5388a5b035d7cc5a011eeaf27 /src/main/kotlin/pl/treksoft/kvision/KVManager.kt | |
parent | 05c5979106cabdd1ae092bde1fde671891aaf50f (diff) | |
download | kvision-db000e6176e6e49a6a3f6b50ddbb8f0e5ae771a1.tar.gz kvision-db000e6176e6e49a6a3f6b50ddbb8f0e5ae771a1.tar.bz2 kvision-db000e6176e6e49a6a3f6b50ddbb8f0e5ae771a1.zip |
Optional dependency fix.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/KVManager.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/KVManager.kt | 5 |
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( |