aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision
diff options
context:
space:
mode:
authorRobbie Cronin <robert.cronin@uqconnect.edu.au>2019-05-01 17:22:33 +0800
committerRobbie Cronin <robert.cronin@uqconnect.edu.au>2019-05-01 17:22:33 +0800
commit6971a2b7383b376223a49c7eb5e900e36fcd6e8f (patch)
tree263d6d30ac70ccc17d77954240776ca07439ffe4 /kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision
parent37e980522d2512b25e0bfa074fce42732d5c0596 (diff)
downloadkvision-6971a2b7383b376223a49c7eb5e900e36fcd6e8f.tar.gz
kvision-6971a2b7383b376223a49c7eb5e900e36fcd6e8f.tar.bz2
kvision-6971a2b7383b376223a49c7eb5e900e36fcd6e8f.zip
Update Options name to TabulatorOptions in toJs extension
Diffstat (limited to 'kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision')
-rw-r--r--kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Options.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Options.kt b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Options.kt
index bb13372d..dac29ab9 100644
--- a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Options.kt
+++ b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Options.kt
@@ -572,7 +572,7 @@ data class TabulatorOptions(
* An extension function to convert tabulator options class to JS object.
*/
@Suppress("UNCHECKED_CAST_TO_EXTERNAL_INTERFACE", "ComplexMethod")
-fun Options.toJs(i18nTranslator: (String) -> (String)): Tabulator.Options {
+fun TabulatorOptions.toJs(i18nTranslator: (String) -> (String)): Tabulator.Options {
return obj {
if (height != null) this.height = height
if (virtualDom != null) this.virtualDom = virtualDom