If you have too many JS files or big JS files, compiler returns an error like this:
JavaScript compiler reported "Too many errors. (84% scanned)." at app.js:3998The problem is that if your code is OK at line 4000 (in this case) and you have an error at line 4100, it will not be shown. So, to increase the number of errors that compiler can handle, just right click on Titanium Developer icon and select Show Package Contents, edit the file Contents/Resources/modules/packaging/js/compiler.js. Then change maxerr:100 to a greater value and save.
In Titanium Studio didn't find how to change this :(
2 Answers
Accepted Answer
Over 4000 lines in one file? I think it is a good idea to start modulized programing … ;-)
Your Answer
Think you can help? Login to answer this question!