More lib API tweaks

This commit is contained in:
pTalanov
2012-05-31 18:43:55 +04:00
parent aa656cac7b
commit 7e07414a75
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ public native trait HTMLElement : Element {
public native var offsetHeight: Double = js.noImpl
public native var offsetTop: Double = js.noImpl
public native var offsetLeft: Double = js.noImpl
public native var offsetParent: Double = js.noImpl
public native var offsetParent: HTMLElement? = js.noImpl
public native var scrollWidth: Double = js.noImpl
public native var scrollHeight: Double = js.noImpl
public native var scrollTop: Double = js.noImpl
+2 -6
View File
@@ -5,10 +5,6 @@ import js.noImpl
import js.dom.html.HTMLElement
import js.dom.core.Element
public native trait HTMLImageElement {
public native var crossOrigin: String = js.noImpl
}
public native trait HTMLCanvasElement : HTMLElement {
public native var width: Double = js.noImpl
public native var height: Double = js.noImpl
@@ -29,8 +25,8 @@ public native trait CanvasContext {
public native fun setTransform(m11: Number, m12: Number, m21: Number, m22: Number, dx: Number, dy: Number): Unit = js.noImpl
public native var globalAlpha: Double = js.noImpl
public native var globalCompositeOperation: String = js.noImpl
public native var fillStyle: String = js.noImpl
public native var strokeStyle: String = js.noImpl
public native var fillStyle: Any = js.noImpl
public native var strokeStyle: Any = js.noImpl
public native fun createLinearGradient(x0: Number, y0: Number, x1: Number, y1: Number): CanvasGradient? = js.noImpl
public native fun createRadialGradient(x0: Number, y0: Number, r0: Number, x1: Number, y1: Number, r1: Number): CanvasGradient? = js.noImpl
public native var lineWidth: Double = js.noImpl