diff options
3 files changed, 4 insertions, 4 deletions
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 048c1b1d..0292a0a4 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 @@ -708,7 +708,7 @@ open class Tabulator<T : Any>( } /** - * A helper function to create a Tabulator object with correct serializer and general redux store. + * A helper function to create a Tabulator object with correct serializer and a general observable store. */ fun <T : Any, S : Any> create( store: ObservableState<S>, @@ -749,7 +749,7 @@ fun <T : Any> Container.tabulator( } /** - * DSL builder extension function for general redux store. + * DSL builder extension function for a general observable store. */ fun <T : Any, S : Any> Container.tabulator( store: ObservableState<S>, diff --git a/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt b/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt index 44e115eb..f6b2d692 100644 --- a/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt +++ b/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt @@ -216,4 +216,4 @@ class ObservableListWrapper<T>(val mutableList: MutableList<T> = mutableListOf() /** * Creates an instance of ObservableList<T> */ -fun <T> observableListOf(vararg items: T) = ObservableListWrapper(items.toMutableList()) +fun <T> observableListOf(vararg items: T): ObservableList<T> = ObservableListWrapper(items.toMutableList()) diff --git a/src/main/kotlin/pl/treksoft/kvision/state/ObservableSet.kt b/src/main/kotlin/pl/treksoft/kvision/state/ObservableSet.kt index f7b2f8cd..e472ddce 100644 --- a/src/main/kotlin/pl/treksoft/kvision/state/ObservableSet.kt +++ b/src/main/kotlin/pl/treksoft/kvision/state/ObservableSet.kt @@ -122,4 +122,4 @@ class ObservableSetWrapper<T>(val mutableSet: MutableSet<T> = mutableSetOf()) : /** * Creates an instance of ObservableSet<T> */ -fun <T> observableSetOf(vararg items: T) = ObservableSetWrapper(items.toMutableSet()) +fun <T> observableSetOf(vararg items: T): ObservableSet<T> = ObservableSetWrapper(items.toMutableSet()) |