1. #1
    Sencha User
    Join Date
    Jun 2009
    Location
    Heidelberg, Germany
    Posts
    52
    Vote Rating
    1
    kleins is on a distinguished road

      0  

    Default ext.js (dynamic loading) leads to incomplete app-all.js with sencha build

    ext.js (dynamic loading) leads to incomplete app-all.js with sencha build


    I try to use ext.js and sencha build to compile my own minimal app-all.js with only those Ext classes that I really need. However, my build stays incomplete, not all required classes are included. The reason is obvious, but I cannot see a good way around this, but maybe someone else has already solved this, since it should be a common problem:

    sench build (ext-app-builder.js) runs inspects Ext.Loader.history at Ext.onReady. However, some classes are only loaded when the viewport is created in my application's launch-function, i.e. the required ui classes such as tab.Panel.

    A call to Ext.require on these classes early on would probably solve the issue, but I find it very useful to leave it all to Ext to decide when to load what and just have to set the xtype myself.

    Any suggestions on this?

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    23
    Vote Rating
    0
    kumar100 is on a distinguished road

      0  

    Default


    Did you solve this problem ? My app-all does not include the required Ext-JS classes .

  3. #3
    Sencha User
    Join Date
    Jun 2009
    Location
    Heidelberg, Germany
    Posts
    52
    Vote Rating
    1
    kleins is on a distinguished road

      0  

    Default


    No, sorry, I never found a satisfying solution to this. I postponed the problem for the moment, since I will still be in development for a few months to come and this only concerns production.
    I guess I will have to chose one of the two solutions: Either require the classes early enough so that they are loaded before Ext.onReady or modify the resulting JSBuilder-file and add the classes manually.

Thread Participants: 1

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