PDA

View Full Version : [FIXED] Missing comma after models array in a controller



ottobar
2 Apr 2012, 9:09 AM
I have a model and a store added to a controller. However, the generated code does not include a comma after the models array and causes a parse error:



...

models: [
MyModel
] stores: [
MyStore
],

...

aconran
2 Apr 2012, 9:23 AM
Designer build #? Ext JS or Sencha Touch?

ottobar
2 Apr 2012, 9:37 AM
Designer 2 Build #353 with ExtJS

aconran
2 Apr 2012, 9:41 AM
Confirmed.

CasualNetworks
2 Apr 2012, 12:19 PM
We found this happening as well, extra commas showing up after functions as well.



,
setCustomHeight: function() {
}
});

aconran
2 Apr 2012, 1:58 PM
extra commas showing up after functions as well.



,
setCustomHeight: function() {
}
});




Please provide reproducible steps.

aconran
2 Apr 2012, 2:03 PM
Original reported bug fixed in #355 released today.