Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive


  1. Add some kind of suggestion of feedback section to the developer center ;)

  2. I often find myself using JSLint to find errors in my javascript code. It occurred to me that it probably wouldn't be too hard to include some kind of JavaScript validation procedure in the "Launch" or build/compile process. This would certainly save me a heap of time. The Trace doesn't really give helpful output when it fails on some javascript error. And occasionally when the application builds and runs, there are javascript errors in the code which cause exceptions, and again the exception output isn't very helpful, these could have been quickly identified as a pre compile validation check. Rather than waiting for the app to build, install and run before you realise there are javascript validation errors.

— asked April 17th 2010 by nobody anonymous
  • suggestion
  • validation

1 Answer

  • When I do a compile in Titanium, and set filter to TRACE/DEBUG, I can see a lot of messages… I think they provide some form of checking/validation

    such as

    extras commas, missing semi-colons, etc.

    but i guess JSLint is has more detail

    — answered April 18th 2010 by Peter Lum
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.