-
27 Apr 2012 3:44 AM #1
Invalid objet config parsing which contains return or comma
Invalid objet config parsing which contains return or comma
In any kind of property which requires an object, if an objet function contains a "return" or a comma, generated code is invalid.
For example, a tips config (for a chart):
will output:Code:{ renderer: function() { return Ext.String.format("{0},{1}", "hello", "sencha"); } }
Code:tips: { renderer: function(){ returnExt.String.format('{0},{1}', hello, sencha); } }- there is NO space between "return" and "Ext."
- parameters quotes disappears ("hello" => hello)
- (minor) all commas will be followed by a EOL
Code:tips: { renderer: me.myRenderer }
-
27 Apr 2012 10:31 AM #2
I am able to reproduce this. Pushed to bugs
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
10 May 2012 7:49 AM #3
This issue has been fixed and will be included in the next autoupdate.
David Foelber
@davidfoelber
Sencha Architect Development Team
-
10 May 2012 7:55 AM #4
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1828
in
Architect 2.1.


Reply With Quote