Big Chungus
09/20/2020, 3:29 PMturansky
09/21/2020, 5:41 AMturansky
09/21/2020, 5:42 AMBig Chungus
09/21/2020, 6:30 AMBig Chungus
09/21/2020, 7:46 AMturansky
09/21/2020, 8:47 AMBig Chungus
09/21/2020, 8:48 AMturansky
09/21/2020, 11:01 AMrequire
exists for node and browser targetsturansky
09/21/2020, 11:02 AMbashor
09/21/2020, 1:57 PMrequire
wasn’t part of stdlibBig Chungus
09/21/2020, 1:58 PMbashor
09/21/2020, 2:00 PMrequire
funs in the kotlin
package for preconditionsBig Chungus
09/21/2020, 2:01 PMBig Chungus
09/21/2020, 2:02 PMbashor
09/21/2020, 2:04 PMBig Chungus
09/21/2020, 2:04 PMfun main() {
require("css/main.css")
}
To this:
@JsModule("css/main.css")
@JsName("default")
external val useless:dynamic
fun main() {
}
Big Chungus
09/21/2020, 2:05 PMbashor
09/21/2020, 2:06 PMBig Chungus
09/21/2020, 2:07 PMbashor
09/21/2020, 2:08 PMkotlin.dom
and kotlin.browser
moved to kotlinx.dom
and kotlinx.browser
Big Chungus
09/21/2020, 2:08 PMgbaldeck
09/21/2020, 2:08 PMexternal fun require(path: String)
?Big Chungus
09/21/2020, 2:09 PMBig Chungus
09/21/2020, 2:12 PMbashor
09/21/2020, 2:14 PMBig Chungus
09/21/2020, 2:15 PM