Hello, World! Trying out the Kotlin 2.1.0 <dev bui...
# webassembly
b
Hello, World! Trying out the Kotlin 2.1.0 dev builds,
org.khronos
and
org.w3c
imports are no longer recognized it seems. I guess they may have moved to a dedicated dependency? Does anyone know anything about that?
s
b
Ahh thanks a lot!
r
๐Ÿ™ 2
๐Ÿ™๐Ÿพ 1
b
๐Ÿ‘€
Fix in builds 2.1.0-dev-8012
Indeed ๐Ÿ™‚
h
Any plans to Kotlin/JS support too?
๐Ÿšซ 1
m
How is that supposed to work? The documentation says to put the dependency into commonMain but I guess these APIs are all browser specific and donโ€™t make sense on any other platform.
i
@Michael Paus github page updated thank you
๐Ÿ™ 1
m
The headline is still unchanged:
Copy code
In multiplatform projects, add a dependency to the commonMain source set dependencies
โœ… 1
By the way, are there any API docs for this?
r
How does this project relates to
kotlin-wrappers/kotlin-browser
(there is an ongoing work to support wasmJs: https://github.com/JetBrains/kotlin-wrappers/issues/2449)? Will we have two different projects for two different sets of browser api declarations?
๐Ÿ‘€ 1
Wouldn't it be better to drop one of them and focus on a single project?
๐Ÿ‘ 1