We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76e6440 commit 52135fbCopy full SHA for 52135fb
js/example-frontend-js/src/ExampleMain.kt
@@ -12,7 +12,7 @@ import kotlin.browser.*
12
import kotlin.coroutines.*
13
import kotlin.math.*
14
15
-fun main(args: Array<String>) {
+fun main() {
16
println("Starting example application...")
17
document.addEventListener("DOMContentLoaded", {
18
Application().start()
@@ -89,7 +89,7 @@ class Application : CoroutineScope {
89
val speed = 0.3
90
val rs = 20.0
91
val turnAfter = 5000.0 // seconds
92
- var maxX = sw - rs
+ val maxX = sw - rs
93
val maxY = sh - rs
94
animation("rect", rs) { rect ->
95
println("Started new 'rect' coroutine #$index")
0 commit comments