aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-03-17 00:39:58 +0100
committerRobert Jaros <rjaros@finn.pl>2019-03-17 00:39:58 +0100
commit0a79457b94307f14bc4494f617ce09fab3505cdf (patch)
treebb50278bab07951381ed0bbe692011d64a10b3a4
parentcb27ed25b9e5a448a3de95be41733e90d75d5933 (diff)
downloadkvision-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.gradle15
-rw-r--r--kvision-modules/kvision-dialog/package.json.d/project.info3
-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