[K/JS] Fix nameBindings for ES-modules after the ES-modules external declarations optimization
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
@OptIn(kotlin.ExperimentalStdlibApi::class)
|
||||
@EagerInitialization
|
||||
val initJsObject = js("""
|
||||
globalThis.ObjectB = { getResult: function() { return "OK" } }
|
||||
""")
|
||||
|
||||
fun box(stepId: Int): String {
|
||||
return ObjectB.getResult()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
STEP 0:
|
||||
dependencies: lib1
|
||||
added file: m.kt
|
||||
STEP 1:
|
||||
dependencies: lib1
|
||||
updated imports: m.kt
|
||||
Reference in New Issue
Block a user