gpicron / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
1 stars 1 forks source link

Modify AsyncProviderBinding to support split point initial sequence #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Simply change AsyncProviderBinder template from        

.append("com.google.gwt.core.client.GWT.runAsync(")
       .append("new com.google.gwt.core.client.RunAsyncCallback() { \n")

to 

.append("com.google.gwt.core.client.GWT.runAsync(").append(targetKeyName).append
(", new com.google.gwt.core.client.RunAsyncCallback() { \n")

which uses the other overload for GWT.runAsync that tags the split point with a 
defined class name.

This way allows the user to set which split points should be loaded first in 
the .gwt.xml module file and also makes the soyc report more human readable for 
better understanding of the code size of each split point.

Original issue reported on code.google.com by triforc...@gmail.com on 3 Oct 2011 at 11:13

GoogleCodeExporter commented 9 years ago
It should be already solved, see r160 in trunk.

Original comment by sciccare...@gmail.com on 4 Jan 2012 at 1:34

GoogleCodeExporter commented 9 years ago
Already done as described above.

Original comment by aragos on 4 Jan 2012 at 6:07