appcelerator/titanium_mobile — pull request #3471 by davber (2012-11-26 19:09:03+00:00)
Title: In Mobile Web: changed iterations to use (ugly) indexed loops when we kn...

...ow we deal with arrays rather than 'for (x in coll)' since some arrays have prototypes/types which will crash the app.

The problem is that at least in my environments - with any browser I use - arrays are not that simple and *do* have prototypes, so the seemingly nice (and Javaish/Pythonish) syntax ``for (x in coll)'' picks up a lot of "garbage." So, we need to use ugly indexed loops to only pick up the elements in the array.