drop interval/timeout funs. Modify traffic light example
This commit is contained in:
@@ -27,13 +27,4 @@ open class Exception() : Throwable() {}
|
||||
library
|
||||
open class RuntimeException() : Exception() {}
|
||||
library
|
||||
class NumberFormatException() : Exception() {}
|
||||
|
||||
native
|
||||
fun setTimeout(callback : ()-> Unit) {}
|
||||
native
|
||||
fun setTimeout(callback : ()-> Unit, ms : Int) {}
|
||||
native
|
||||
fun setInterval(callback : ()-> Unit, ms : Int) {}
|
||||
native
|
||||
fun setInterval(callback : ()-> Unit) {}
|
||||
class NumberFormatException() : Exception() {}
|
||||
Reference in New Issue
Block a user