diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-07-13 00:21:33 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-07-13 00:59:50 +0200 |
commit | a804e0aa277efc1b46c1111b0ad8302d267684b2 (patch) | |
tree | dbd5329f003b386b5196b510526c9cee75db3514 /kvision-modules/kvision-remote/src/main/kotlin/pl | |
parent | 7fe158d0f2243c460c4f1848bb7989c559362cdf (diff) | |
download | kvision-a804e0aa277efc1b46c1111b0ad8302d267684b2.tar.gz kvision-a804e0aa277efc1b46c1111b0ad8302d267684b2.tar.bz2 kvision-a804e0aa277efc1b46c1111b0ad8302d267684b2.zip |
Refactor RemoteSelect -> SelectRemote and RemoteTabulator -> TabulatorRemote
Diffstat (limited to 'kvision-modules/kvision-remote/src/main/kotlin/pl')
-rw-r--r-- | kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index 5b5ae87f..829ccbd6 100644 --- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -133,7 +133,7 @@ actual open class KVServiceManager<T : Any> actual constructor(serviceClass: KCl * @param function a function of the receiver */ protected actual fun bind( - function: T.(String?, String?) -> List<RemoteSelectOption> + function: T.(String?, String?) -> List<RemoteOption> ) { val routeDef = "route${this::class.simpleName}${counter++}" calls[function.toString().replace("\\s".toRegex(), "")] = Pair("/kv/$routeDef", HttpMethod.POST) |