aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/html
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-07-09 20:08:05 +0200
committerRobert Jaros <rjaros@finn.pl>2019-07-09 20:08:05 +0200
commitd1612a42ec508f3ef0f61163d181e01931b9157c (patch)
treee2f8da4c115c156a01caa9aa7c419a0084cba047 /src/main/kotlin/pl/treksoft/kvision/html
parentd0ea8ade727c756aab6c878773fb2873ec41cd23 (diff)
downloadkvision-d1612a42ec508f3ef0f61163d181e01931b9157c.tar.gz
kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.tar.bz2
kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.zip
New DOM bindings. Drop horrible "strictDOM" property.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/html')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/html/Canvas.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/html/Canvas.kt b/src/main/kotlin/pl/treksoft/kvision/html/Canvas.kt
index 476ee118..feb9a970 100644
--- a/src/main/kotlin/pl/treksoft/kvision/html/Canvas.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/html/Canvas.kt
@@ -53,10 +53,6 @@ open class Canvas(
*/
lateinit var context2D: CanvasRenderingContext2D
- init {
- this.vnkey = "kv_canvas_${counter++}"
- }
-
override fun render(): VNode {
return render("canvas")
}