> Thomas, you are right. I had some conditional logic which chose which 
> scripts should be loaded in production or dev mode (original or minified 
> and merged) but I used GWT.isProdMode() and forgot that in SDM it returns 
> true... Sorry for that.
>

You can use the following in your condition:

public static boolean isSDM() {
  return GWT.isScript() && !GWT.getModuleBaseForStaticFiles().equals(GWT.
getModuleBaseURL());
}


-- J.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to