> Well, it could be (feel free to file an issue)
https://github.com/gwtproject/gwt/issues/9438
I`m not sure I express what I need exactly.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails
> Well, it could be (feel free to file an issue)
https://github.com/gwtproject/gwt/issues/9438
I`m not sure I express what I need exactly.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails
It can't be a child interface.
On Tuesday, September 27, 2016 at 9:52:47 AM UTC-4, Kirill Prazdnikov wrote:
>
> > or you can move your constants to another class since they are not js
> visibile...
>
> Thats what am I doing:
>
> @JsType(isNative = true, namespace = JsPackage.GLOBAL)
> public
> or you can move your constants to another class since they are not js
> visibile...
Thats what am I doing:
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface JsObject {
@JsProperty int getMyInt();
interface Const {
int ONE = 1;
}
}
--
You received this
or you can move your constants to another class since they are not js
visibile...
On Tue, Sep 27, 2016 at 2:43 PM, Thomas Broyer wrote:
>
> On Tuesday, September 27, 2016 at 1:36:13 PM UTC+2, Kirill Prazdnikov
> wrote:
>>
>> or you want a Java-only field in that interface
On Tuesday, September 27, 2016 at 1:36:13 PM UTC+2, Kirill Prazdnikov wrote:
>
> or you want a Java-only field in that interface (like you had in your JSO
>> previously), and then you need to use @JsOverlay.
>>
>
> Yes, I want Java-only scalars. Web GL constant pool has about 150 fields.
>
>
> or you want a Java-only field in that interface (like you had in your JSO
> previously), and then you need to use @JsOverlay.
>
Yes, I want Java-only scalars. Web GL constant pool has about 150 fields.
Should I add JsOverlay 150 times ?
Is it possible for GWT to automatically look at
On Tuesday, September 27, 2016 at 11:03:17 AM UTC+2, Kirill Prazdnikov
wrote:
>
> Hi,
>
> It is not clear why GWT disallow scalar and String constants in JsInterop
> interfaces
> Previously it was
>
> public final class MediaError extends JavaScriptObject {
>
Hi,
It is not clear why GWT disallow scalar and String constants in JsInterop
interfaces
Previously it was
public final class MediaError extends JavaScriptObject {
public static final int MEDIA_ERR_ABORTED = 1;
Now it is impossible to declare the constant in the API declaration:
@JsType