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
    Olney, MD
    Posts
    1,879
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi