Saturday, June 10, 2017

How to determine whether you're in SuperDevMode inside (custom) linker code

You can look for the "superdevmode" property value out of the LinkerContext.

The tricks you mention are for client-side code, at runtime; not at compile-time.

As for GWT.create(), have a look at ServerGWTBridge to see how that could be used outside of GWT client code. Though I'd discourage that use, that's not future-proof.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment