Hi Adam,

generated .js files contain the following code (GWT 1.5):

  function isHostedMode(){
    try {
      return $wnd.external && ($wnd.external.gwtOnLoad &&
$wnd.location.search.indexOf($intern_5) == -1);
    }
     catch (e) {
      return false;
    }
  }

This operation is called from two if statements (also within the .js)
that have hosted-mode specific code inside.

This is not much code we're talking about but still superfluous if you
run you app only in web mode.

Thanks for your quick reply,
Jörn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to