Remove references to javascript annotations from java stdlib

Fix annoying bad annotation in repository
This commit is contained in:
Pavel V. Talanov
2012-10-01 16:21:06 +04:00
parent efe0c83872
commit be0fca3f65
2 changed files with 1 additions and 15 deletions
-13
View File
@@ -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