http://gwt-code-reviews.appspot.com/669801/diff/20001/21006 File dev/core/src/com/google/gwt/dev/jjs/impl/JsFunctionClusterer.java (right):
http://gwt-code-reviews.appspot.com/669801/diff/20001/21006#newcode62 dev/core/src/com/google/gwt/dev/jjs/impl/JsFunctionClusterer.java:62: if (code.startsWith("function ")) { Yeah, the cross-site linker munges the way functions are defined. If you want to change this, check that it works for the cross-site linker. http://gwt-code-reviews.appspot.com/669801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors