diff --git a/libraries/stdlib/src/kotlin/browser/Properties.kt b/libraries/stdlib/src/kotlin/browser/Properties.kt deleted file mode 100644 index 2ea8a883920..00000000000 --- a/libraries/stdlib/src/kotlin/browser/Properties.kt +++ /dev/null @@ -1,22 +0,0 @@ -@file:JvmVersion -@file:JvmName("BrowserKt") -package kotlin.browser - -import org.w3c.dom.Document - -private var _document: Document? = null - -/** - * Provides access to the current active browsers DOM for the currently visible page. - */ -public var document: Document - get() { - // Note this code is only executed on the JVM - val answer = _document - return if (answer == null) { - kotlin.dom.createDocument() - } else answer - } - set(value) { - _document = value - } diff --git a/libraries/stdlib/src/kotlin/browser/ReadMe.md b/libraries/stdlib/src/kotlin/browser/ReadMe.md deleted file mode 100644 index c8d6f392f31..00000000000 --- a/libraries/stdlib/src/kotlin/browser/ReadMe.md +++ /dev/null @@ -1,3 +0,0 @@ -## Browser API - -Provides a simple typesafe API for accessing the browser context which can be used when Kotlin is compiled into JavaScript or when Kotlin is used on a JVM for example using [JavaFX](https://github.com/koolapp/koolapp/tree/master/koolapp-javafx), custom browser widgets such as in SWT or Qt, with remote control browser APIs like GWT or Selenium.