Advance kotlin.browser and kotlin.dom packages deprecation level to ERROR #KT-39330
This commit is contained in:
committed by
Space
parent
93833f7db2
commit
9a5a3bfdfb
+1
-1
@@ -3,7 +3,7 @@
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
import kotlin.browser.document
|
||||
import kotlinx.browser.document
|
||||
|
||||
fun main() {
|
||||
document.write("Hello, world!")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package example.library
|
||||
|
||||
import org.w3c.dom.Text
|
||||
import kotlin.browser.*
|
||||
import kotlinx.browser.*
|
||||
|
||||
public class Counter(val el: Text) {
|
||||
fun step(n: Int) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package example
|
||||
|
||||
import kotlin.browser.document
|
||||
import kotlinx.browser.document
|
||||
import example.library.Counter
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package ${package}
|
||||
|
||||
import kotlin.browser.window
|
||||
import kotlinx.browser.window
|
||||
|
||||
/**
|
||||
* Example main function. Started at script body.
|
||||
|
||||
Reference in New Issue
Block a user