Re: JSInterop native class

2023-02-24 Thread George Paret
Thomas, Thank you for the detailed reply. I would have never figured out by myself that functions are recorded on the window but classes are not. Although this is probably the first time I posted a question here, I have immensely benefited from your helpful responses here, stackoverflow and

Re: JSInterop native class

2023-02-24 Thread Thomas Broyer
Because GWT code runs in an iframe, JsPackage.GLOBAL maps to the JSNI $wnd equivalent referencing the parent window so anything referenced from JsInterop needs to be recorded as a window property; and classes aren't recorded on the window per ECMAScript (see