I’m not sure what bugs me about writing code like the following in JavaScript
var form = button.up('form').getForm(), formWindow = button.up('window');
I certainly see it all the time. Maybe I just need to get use to it. I always right my code like the following:
var form = button.up('form').getForm(); var formWindow = button.up('window');
I understand wanting to save download bandwidth, but to me it just seems confusing to read. Am I the only one?