aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules
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
parent4895cd4698bdcdcd6b39c728a5952ecba45fb5cf (diff)
downloadkvision-0c8cf5c2bcf32ad72618620c1b49a6aef75070c3.tar.gz
kvision-0c8cf5c2bcf32ad72618620c1b49a6aef75070c3.tar.bz2
kvision-0c8cf5c2bcf32ad72618620c1b49a6aef75070c3.zip
New implementation of ObservableList<T>
Diffstat (limited to 'kvision-modules')
-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
-rw-r--r--kvision-modules/kvision-tabulator/build.gradle1
-rw-r--r--kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt2
5 files changed, 3 insertions, 8 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
diff --git a/kvision-modules/kvision-tabulator/build.gradle b/kvision-modules/kvision-tabulator/build.gradle
index b74ef2d4..6959fec5 100644
--- a/kvision-modules/kvision-tabulator/build.gradle
+++ b/kvision-modules/kvision-tabulator/build.gradle
@@ -1,7 +1,6 @@
apply from: "../shared.gradle"
dependencies {
- compile "pl.treksoft:kotlin-observable-js:$kotlinObservableVersion"
compile project(":kvision-modules:kvision-redux")
}
diff --git a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt
index bd17d7bf..f87af393 100644
--- a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt
+++ b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt
@@ -22,7 +22,6 @@
package pl.treksoft.kvision.tabulator
import com.github.snabbdom.VNode
-import com.lightningkite.kotlin.observable.list.ObservableList
import org.w3c.dom.HTMLElement
import pl.treksoft.kvision.KVManagerTabulator
import pl.treksoft.kvision.core.Container
@@ -31,6 +30,7 @@ import pl.treksoft.kvision.core.Widget
import pl.treksoft.kvision.i18n.I18n
import pl.treksoft.kvision.redux.ReduxStore
import pl.treksoft.kvision.table.TableType
+import pl.treksoft.kvision.utils.ObservableList
import pl.treksoft.kvision.utils.createInstance
import pl.treksoft.kvision.utils.obj
import pl.treksoft.kvision.utils.syncWithList