Closed GoogleCodeExporter closed 9 years ago
This is an <elseif> bug on stringtemplate.
I've checked in the workaround.
Original comment by david.yu...@gmail.com
on 30 Sep 2010 at 3:07
[deleted comment]
thanks for the fix!
just a small warning left
public static native boolean isInitialized(Candle obj) /*-{
return
obj["1"] != null;
}-*/;
between return and obj should not be break too!
i fixed that in gwt_overlay.stg for myself but would like to see that in trunk
too
Original comment by nordlig....@gmail.com
on 30 Sep 2010 at 10:36
I don't seem to be getting warnings in the isInitialized block (using 2.0.4
with gwt eclipse plugin)
The problem with putting it all in one line is it's readability.
Original comment by david.yu...@gmail.com
on 11 Oct 2010 at 1:12
Original comment by david.yu...@gmail.com
on 11 Oct 2010 at 1:18
try using intellij idea. it's javascript validator shows warning.
and it's write because some javascript engines will ignore next line after
'return' with line break.
Original comment by nordlig....@gmail.com
on 11 Oct 2010 at 1:18
Alright, I've added the necessary changes.
Note that gwt compiles your code obfuscated .. so mostly likely will not
contain the line wrap.
Cheers
Original comment by david.yu...@gmail.com
on 11 Oct 2010 at 1:43
Thank you
Original comment by nordlig....@gmail.com
on 11 Oct 2010 at 1:45
it would also be cool to change method create() in gwt_overlay.stg:
public static native <message.name> create() /*-{
return {};
}-*/;
Original comment by nordlig....@gmail.com
on 27 Oct 2010 at 7:28
Original issue reported on code.google.com by
nordlig....@gmail.com
on 29 Sep 2010 at 2:22