For..in without hasOwnProperty usage in Dialog #289

Closed
fbasso opened this Issue Dec 17, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Member

fbasso commented Dec 17, 2012

There are 3 for..in loop in aria.widgets.container.Dialog, without using the hasOwnProperty test.

It means that, if at application level some built-in objects are created, these loops can fail. Moreover, it seems that the loops are done on an simple Array, so a numeric loop is more fitted in this case.

@fbasso fbasso added a commit to fbasso/ariatemplates that referenced this issue Dec 17, 2012

@fbasso fbasso fix #289 Simple "for" usage instead of "for..in" c2adce9

piuccio closed this in a0026ec Dec 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment