aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-04-25 08:03:34 +0200
committerRobert Jaros <rjaros@finn.pl>2018-04-25 08:03:34 +0200
commit810a3abf13e18570d35808a1172dd34f516c0493 (patch)
tree0ea2cfd1c45d12c3c3e5d472eec0ec52702fd888 /src/main/kotlin
parentee64df23bb6ccb2d502f4b0c6fe561ebf6865ca3 (diff)
downloadkvision-810a3abf13e18570d35808a1172dd34f516c0493.tar.gz
kvision-810a3abf13e18570d35808a1172dd34f516c0493.tar.bz2
kvision-810a3abf13e18570d35808a1172dd34f516c0493.zip
Upgrade Kotlin to 1.2.40 and kotlin-fronted-plugin to 0.0.30 (with webpack 4)
Dependencies on kotlinx.serialization and kotlinx.coroutines.
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/core/Types.kt29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/core/Types.kt b/src/main/kotlin/pl/treksoft/kvision/core/Types.kt
index 0817b3ae..1b4f011d 100644
--- a/src/main/kotlin/pl/treksoft/kvision/core/Types.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/core/Types.kt
@@ -21,24 +21,25 @@
*/
package pl.treksoft.kvision.core
- /**
- * This type is used for accessing resources with CommonJS **require** function.
- *
- * e.g. require("./img/picture.png")
- */
+/**
+ * This type is used for accessing resources with CommonJS **require** function.
+ *
+ * e.g. require("./img/picture.png")
+ */
typealias ResString = String
- /**
- * Helper type used to define CSS style attributes.
- */
+/**
+ * Helper type used to define CSS style attributes.
+ */
typealias StringPair = Pair<String, String>
- /**
- * Helper type used to define CSS classes.
- */
+/**
+ * Helper type used to define CSS classes.
+ */
typealias StringBoolPair = Pair<String, Boolean>
- /**
- * This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.).
- */
+/**
+ * This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.).
+ */
typealias CssSize = Pair<Int, UNIT>
+