Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default [PR 1] Ext.app.Application -> custom configs

    [PR 1] Ext.app.Application -> custom configs


    hi team,

    with ST 1.x, i was able to add custom configs to an app, like:

    Code:
    Ext.regApplication({
        name: 'SC',
        foo: 'bar'
    });
    this was really useful, like for setting namespaced "global" vars for the app.
    you can get them later with SC.foo.

    in ST 2 they don't get applied anymore.
    i tried:

    Code:
    Ext.application({
        name: 'SC',
        foo: 'bar',
        config: {
            foo: 'bar'
        }
    });
    without success.

    the only workaround i see (without extending / overriding application) is:

    Code:
    Ext.ns('SC');
    SC.foo = 'bar';
    
    Ext.application({
        name: 'SC'
        ...
    });
    it would be cool if setting custom configs will get possible again!
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Hmm I don't agree with this, I think you should just set them after the app has been defined
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

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