Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1828 in a recent build.
  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    8
    Vote Rating
    0
    Balbuzar is on a distinguished road

      0  

    Default 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):
    Code:
    {    renderer: function() {
            return Ext.String.format("{0},{1}", "hello", "sencha");
        }
    }
    will output:
    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
    My workaround is to create a new function for the renderer
    Code:
    tips: {
        renderer: me.myRenderer
    }

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,733
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    I am able to reproduce this. Pushed to bugs
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha - Architect Dev Team dfoelber's Avatar
    Join Date
    Sep 2011
    Location
    Rockville, MD
    Posts
    96
    Vote Rating
    12
    dfoelber will become famous soon enough

      0  

    Default


    This issue has been fixed and will be included in the next autoupdate.
    David Foelber
    @davidfoelber
    Sencha Architect Development Team

  4. #4
    Sencha User
    Join Date
    Apr 2010
    Posts
    8
    Vote Rating
    0
    Balbuzar is on a distinguished road

      0  

    Default


    Thanks

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar