aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-datacontainer
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-07-06 13:30:34 +0200
committerRobert Jaros <rjaros@finn.pl>2019-07-06 13:30:34 +0200
commit0c8cf5c2bcf32ad72618620c1b49a6aef75070c3 (patch)
tree26917e8984487f675e4ac981d18fa3c7b8977dd2 /kvision-modules/kvision-datacontainer
parent4895cd4698bdcdcd6b39c728a5952ecba45fb5cf (diff)
downloadkvision-0c8cf5c2bcf32ad72618620c1b49a6aef75070c3.tar.gz
kvision-0c8cf5c2bcf32ad72618620c1b49a6aef75070c3.tar.bz2
kvision-0c8cf5c2bcf32ad72618620c1b49a6aef75070c3.zip
New implementation of ObservableList<T>
Diffstat (limited to 'kvision-modules/kvision-datacontainer')
-rw-r--r--kvision-modules/kvision-datacontainer/build.gradle4
-rw-r--r--kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt2
-rw-r--r--kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt2
3 files changed, 2 insertions, 6 deletions
diff --git a/kvision-modules/kvision-datacontainer/build.gradle b/kvision-modules/kvision-datacontainer/build.gradle
index 9337698c..a10a048f 100644
--- a/kvision-modules/kvision-datacontainer/build.gradle
+++ b/kvision-modules/kvision-datacontainer/build.gradle
@@ -1,9 +1,5 @@
apply from: "../shared.gradle"
-dependencies {
- compile "pl.treksoft:kotlin-observable-js:$kotlinObservableVersion"
-}
-
kotlinFrontend {
npm {
diff --git a/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt b/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt
index 6c05da4b..cb360982 100644
--- a/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt
+++ b/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt
@@ -22,11 +22,11 @@
package pl.treksoft.kvision.data
import com.github.snabbdom.VNode
-import com.lightningkite.kotlin.observable.list.ObservableList
import pl.treksoft.kvision.core.Component
import pl.treksoft.kvision.core.Container
import pl.treksoft.kvision.core.Widget
import pl.treksoft.kvision.panel.VPanel
+import pl.treksoft.kvision.utils.ObservableList
/**
* Sorter types.
diff --git a/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt b/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt
index 556d3991..36347cd3 100644
--- a/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt
+++ b/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt
@@ -21,12 +21,12 @@
*/
package test.pl.treksoft.kvision.data
-import com.lightningkite.kotlin.observable.list.observableListOf
import pl.treksoft.kvision.data.BaseDataComponent
import pl.treksoft.kvision.data.DataContainer
import pl.treksoft.kvision.html.Label
import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.VPanel
+import pl.treksoft.kvision.utils.observableListOf
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
import kotlin.test.Test