Re: Ways to detect a site is running GWT?
On Friday, November 9, 2012 6:05:44 PM UTC+1, Joseph Lust wrote:
Oh, but one other question, that I'm totally stumped on. Is there any way to get the version of GWT something was compiled with? I'm doubtful that it is even in the compiled output, and would prefer not to come up with a list of objects that changed with different releases to try to guess the version.
It *is* in every compiled permutation (the $gwt_version variable I was talking about), but it's a "private" variable in many cases (in some cases –e.g. Groups– it's even in a String literal that'll then be injected in a <script>, but still private when evaluated, as it uses the so-called "module pattern"). FYI, all Google products are built from "trunk" so they use the default, hard-coded 0.0.999 version.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/I1ewaMzEu5QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home