diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-03-17 00:39:58 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-03-17 00:39:58 +0100 |
commit | 0a79457b94307f14bc4494f617ce09fab3505cdf (patch) | |
tree | bb50278bab07951381ed0bbe692011d64a10b3a4 | |
parent | cb27ed25b9e5a448a3de95be41733e90d75d5933 (diff) | |
download | kvision-0a79457b94307f14bc4494f617ce09fab3505cdf.tar.gz kvision-0a79457b94307f14bc4494f617ce09fab3505cdf.tar.bz2 kvision-0a79457b94307f14bc4494f617ce09fab3505cdf.zip |
Refactor Dialog component to the separate module.
-rw-r--r-- | kvision-modules/kvision-dialog/build.gradle | 15 | ||||
-rw-r--r-- | kvision-modules/kvision-dialog/package.json.d/project.info | 3 | ||||
-rw-r--r-- | kvision-modules/kvision-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt (renamed from src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt) | 0 |
3 files changed, 18 insertions, 0 deletions
diff --git a/kvision-modules/kvision-dialog/build.gradle b/kvision-modules/kvision-dialog/build.gradle new file mode 100644 index 00000000..16c2720a --- /dev/null +++ b/kvision-modules/kvision-dialog/build.gradle @@ -0,0 +1,15 @@ +apply from: "../shared.gradle" + +dependencies { + compile "org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion" +} + +kotlinFrontend { + + npm { + devDependency("karma", "3.1.4") + devDependency("karma-chrome-launcher", "2.2.0") + devDependency("qunit", "2.8.0") + } + +} diff --git a/kvision-modules/kvision-dialog/package.json.d/project.info b/kvision-modules/kvision-dialog/package.json.d/project.info new file mode 100644 index 00000000..416cd4a7 --- /dev/null +++ b/kvision-modules/kvision-dialog/package.json.d/project.info @@ -0,0 +1,3 @@ +{ + "description": "KVision Dialog module" +} diff --git a/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt b/kvision-modules/kvision-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt index e67a6f17..e67a6f17 100644 --- a/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt +++ b/kvision-modules/kvision-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt |