1. #11
    Ext JS Premium Member
    Join Date
    Mar 2010
    Location
    Atlanta, GA
    Posts
    38
    Vote Rating
    0
    RoyW is on a distinguished road

      0  

    Default


    Unfortunately I don't think so.

    The files seem to be created in alphabetical order so the following wont work

    File: MyApp/view/View.js
    Code:
    Ext.define('MyApp.view.View', {
            extend: 'Ext.view.View',
            ...
    });
    File: MyApp/view/DataView.js
    Code:
    Ext.define('MyApp.view.DataView', {
            extend: 'MyApp.view.View',
            ....
    });

    In the folder list 'DataView' appears alphabetically before 'View' so the code will be generated as follows
    Code:
    Ext.define('MyApp.view.DataView', {
            extend: 'MyApp.view.View',
            ....
    });
    Ext.define('MyApp.view.View', {
            extend: 'Ext.view.View',
            ...
    });
    As soo an Ext sees the " extend: 'Ext.view.View', " the loader will look for that class. It is not defined so will try to load it and fail. If the loader is disabled it will fail saying "MyApp.view.View is not defined"

  2. #12
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Answers
    3462
    Vote Rating
    828
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So playing around with this code:

    Code:
    Ext.define('ClassB', {
        extend : 'ClassA'
    });
    
    Ext.define('ClassA', {});
    and of course it will try to load ClassA.js. Until I can work on a more robust solution, in Fiddle 1.1 I've come up with a way to pause and resume Ext.Loader and will insert Ext.Loader.pause() and Ext.Loader.resume() in the code automatically so there won't be anything you have to do, Fiddle will automatically insert this. Do note, the pause and resume aren't methods of Ext.Loader, Fiddle will be adding these methods.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #13
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    226
    Answers
    1
    Vote Rating
    2
    ypandey is on a distinguished road

      0  

    Exclamation Ext.Loader not loading based on dependency

    Ext.Loader not loading based on dependency


    Quote Originally Posted by mitchellsimoens View Post
    Like I said, the classes are dumped into the generated HTML. The order is the same order found in the tree as I just cascade through the tree store.
    Cmd is built in Java so it would be porting things but likely that would not be too fruitful of a mission. Writing from scratch is a better course.
    Changing order of files fixes my issue. But every time i open fiddle again, the order reverts back.

    If loading of files is based on tree sequence (which is very problematic) Shouldn't fiddle also save updated sequence of the tree structure?

    https://fiddle.sencha.com/#fiddle/6st

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