On 06/27/2013 02:04 PM, Cajus Pollmeier wrote:
> On 27.06.2013 12:38, thron7 wrote:
>> Cajus,
>>
>> - What is the commit that you pulled? (The issue might have been fixed
>> meanwhile)
> I don't know, but I tried again using
> d6b28021dc9dd527a4604cb37acb220f2079a118 which seems to be the latest one
> available on github. Same error.
>
> Chrome:
>
> Uncaught SyntaxError: Unexpected token && /test/script/bj-webkit.js:210
>
> Firefox:
>
> SyntaxError: missing ; before statement @
> https://bj.gonicus.de/test/script/bj-gecko.js:210
>
>
>
>> - Which code caused the exception? A minimal example to trigger it would
>> be helpful.
> Well. Since this in "build" only and the code complained about is sitting on
> one line filling ~16 printable pages of compressed javascript, containing
> dozends of "&&" or ";", I'm not sure what to do
> in this case.
>
> Just tried to disable the optimization, but it still generates compressed
> code. What do I need to do besides setting OPTIMIZE = []?
This weird. I could reproduce this issue, and now I can't! Please open a
bug for it anyway.
To work around it, try running 'generate.py distclean' and then re-run
build with OPTIMIZE=[]. This should provide you with a version that is
fully readable.
Alternatively, you could set format:true, to at least get some line
breaks. Still not so easy to relate that back to the original code. But
it has the advantage that the usual optimziations are in if the issue is
actually caused by one of them:
"build-script" : {
"compile-options" : {
"code" : {
"format" : true
}
}
T.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel