Re: [qooxdoo-devel] Build script Unexpected token var

2013-02-21 Thread arsousa
I'm sorry, but is no need to removing the semicolon before } else. The problem was solved just wrap the two for() loops in curly braces. I think my browser had refreshing problem (maybe didn't clean up the cache). -- View this message in context: http://qooxdoo.678.n2.nabble.com/Build-script-U

Re: [qooxdoo-devel] Build script Unexpected token var

2013-02-20 Thread thron7
On 02/20/2013 12:37 PM, arsousa wrote: > Thanks for the tips. > I found where the problem are, but I don't understand why that cause an > error (after build process), because there is no syntax error. > The issue was in the contribution qxProtovis.Panel > > if (position(row)) for (var i = 0;

Re: [qooxdoo-devel] Build script Unexpected token var

2013-02-20 Thread arsousa
Thanks for the tips. I found where the problem are, but I don't understand why that cause an error (after build process), because there is no syntax error. The issue was in the contribution qxProtovis.Panel if (position(row)) for (var i = 0; i < row.length; i++) { *row[i].dy += h;* }

Re: [qooxdoo-devel] Build script Unexpected token var

2013-02-19 Thread thron7
> Thanks for the reply. > I've already built with format option equal to true and the result is: > > > > There is a syntax error on line: 14725 > > 14724: ;if(zE(zG))for(var i=0;i 14725: ;else for(var i=0;i 14726: ;} > > How can I fix tha

Re: [qooxdoo-devel] Build script Unexpected token var

2013-02-19 Thread arsousa
Thanks for the reply. I've already built with format option equal to true and the result is: There is a syntax error on line: 14725 14724: ;if(zE(zG))for(var i=0;ihttp://qooxdoo.678.n2.nabble.com/Build-script-Unexpected-token-var-tp7

Re: [qooxdoo-devel] Build script Unexpected token var

2013-02-18 Thread thron7
For a start, add a job "build-script" to your config.json and set the property build-script/compile-options/code/format : true and re-run the 'build' job. This will break up the long line in the build version in a number of shorter lines and will hopefully give easier access to the problemati

[qooxdoo-devel] Build script Unexpected token var

2013-02-18 Thread arsousa
Hi, I migrate my project to the last qooxdoo version 2.1.1. The /source/ works fine and when I do the application /build/ everything it's ok, without errors. But when I run the application (build) in browser occurs the following error: /Uncaught SyntaxError: Unexpected token var (script xxx.js li