Browse Source

Fix JsInterop in 2.8-SNAPSHOT

tags/gwtquery-project-1.5-beta1
Manolo Carrasco 9 years ago
parent
commit
83288de9a2

+ 4
- 4
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsInteropTestGwt.java View File

@@ -58,23 +58,23 @@ public class GQueryJsInteropTestGwt extends GWTTestCase {
}
}

@JsType(prototype = "Window", isNative = true)
@JsType(prototype = "Window")
public interface HTMLWindow {
@JsProperty String getName();
@JsProperty void setName(String name);
}

@JsType(prototype = "Window", isNative = true)
@JsType(prototype = "Window")
public interface HWindow {
@JsProperty HDocument document();
}

@JsType(prototype = "HTMLDocument", isNative = false)
@JsType(prototype = "HTMLDocument")
public interface HDocument {
HElement createElement(String tag);
}
@JsType(prototype = "HTMLElement", isNative = false)
@JsType(prototype = "HTMLElement")
public interface HElement {
@JsProperty void id(String s);
}

+ 2
- 2
pom.xml View File

@@ -146,8 +146,8 @@
</repositories>

<properties>
<gwtversion>2.7.0</gwtversion>
<gwtmaven>2.7.0</gwtmaven>
<gwtversion>2.8.0-SNAPSHOT</gwtversion>
<gwtmaven>2.8.0-SNAPSHOT</gwtmaven>
<gqueryclassifier />
<gwt.loglevel>INFO</gwt.loglevel>
<gwt.outputstyle>OBF</gwt.outputstyle>

Loading…
Cancel
Save