Remove references to javascript annotations from java stdlib
Fix annoying bad annotation in repository
This commit is contained in:
@@ -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 = "")
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user