diff --git a/libraries/stdlib/src/js/Annotations.kt b/libraries/stdlib/src/js/Annotations.kt deleted file mode 100644 index 3cd8d930ffd..00000000000 --- a/libraries/stdlib/src/js/Annotations.kt +++ /dev/null @@ -1,13 +0,0 @@ -package js - -/** - * This annotation marks code as being a native JavaScript expression - */ -native -annotation class native(name : String = "") - -/** - * Represents a function in the standard library - */ -native -annotation class library(name : String = "") diff --git a/libraries/stdlib/src/kotlin/browser/Properties.kt b/libraries/stdlib/src/kotlin/browser/Properties.kt index ba02ef8c997..28e673c1fc5 100644 --- a/libraries/stdlib/src/kotlin/browser/Properties.kt +++ b/libraries/stdlib/src/kotlin/browser/Properties.kt @@ -1,6 +1,5 @@ package kotlin.browser -import js.native import org.w3c.dom.Document private var _document: Document? = null @@ -8,7 +7,7 @@ private var _document: Document? = null /** * Provides access to the current active browsers DOM for the currently visible page. */ -native public var document: Document +public var document: Document get() { // Note this code is only executed on the JVM val answer = _document