A dispute arose about the errors in IE, if there is extra comma in the code.
The situation is simple:
items: [
{xtype: 'textfield', cls: 'fake-field', value: 'Manager Login'},
new Ext.form.TextField(Ext.applyIf({fieldLabel: 'Username', name: 'login', allowBlank:false}, fieldConfig)),
this.passwordField,
this.passwordConfirmField,
new Ext.form.Hidden({name: 'companyId'}),
]
If last comma is not clean — IE script doesn't work. All other browsers will work on hurrah.
Question: Who is right? The encoder and the comma (with all browsers) or IE (which doesn't want to handle an obvious mistake of the programmer).