On 6 February 2012 12:50, David Hearnden <hearn...@google.com> wrote:
> On Mon, Feb 6, 2012 at 12:36 PM, Thomas Wrobel <darkfl...@gmail.com> > wrote: > > > ".e., to have a build setup that has user-agent specific builds, > > with compile-time minimization, and also an all-agent build? It might > > take > > some GWT-fu to set that up." > > > > GWT makes specific optimized builds for 6 or so user agents as its > > normal compilation - no effort needed. > > > > Hi Thomas, > > I think Pat was asking about the feasibility of turning that behaviour off, > so one build would work on all user agents. Pat can correct me if I'm > wrong. > > -Dave > Yeah, Dave's correct - there are a number of places where Blogger renders comments in a way that requires the same <script> tag for each permutation, and I'd prefer to avoid a second roundtrip that the .nocache.js usually uses, so my aim is to compile everything into a single slightly-bloated .js file, then work on reducing the bloat. Part of that requires undoing the user agent static properties dead-code culling stuff, which for Blogger's usage doesn't add much; I think there's only one or two places in Undercurrent that perform browser-specific stylings, most of it was in editor code which I don't use. Cheers for the other responses, by the sounds of it, removing the Blip -> Document dep would be a win all around, so once the post-launch holiday and turbulence calms down I'll take a look at that. - Pat