Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User Nom4d3's Avatar
    Join Date
    Sep 2008
    Location
    Araras / SP / Brazil
    Posts
    81
    Vote Rating
    1
    Nom4d3 is on a distinguished road

      0  

    Question [CLOSED][PR5] Ext.Loader is not loading the Core files

    [CLOSED][PR5] Ext.Loader is not loading the Core files


    I don't know if I'm doing something wrong, or this is really a bug.

    There are a lack of examples about these new way to load ExtJS files, so I'm trying to guessing how to do.

    In my HTML I have this:
    Code:
          <script type="text/javascript" src="_assets/ext-foundation.js"></script>
          <script>
             Ext.Loader.setConfig({
                enabled: true,
                paths: {
                   'Ext': './_assets/src/.',
                   'App': './modules/.'
                }
             });
          </script>
          <script type="text/javascript" src="modules/application.js"></script>
    In my application.js I have this:

    Code:
    Ext.define('App.MyViewport', {
       extend: 'Ext.container.Viewport',
       requires: ['Ext.Ajax', 'Ext.panel.Panel', 'Ext.tab.TabPanel']
    });
    
    Ext.onReady(function() {
       new App.MyViewport();
    });
    What happens:

    'Ext.container.Viewport', 'Ext.Ajax', 'Ext.panel.Panel', 'Ext.tab.TabPanel' are loading correctly, but the loader is trying to load: EventManager.js, Element.js, Event.js, .Format.js and some other Core files from a wrong path. These files are inside the '_assets/src/core/src' directory, and the loader is looking for then on '_assets/src'.

    Should I load the ext-core.js first on my html as we used to do?
    Should I move the core files to my ExtJS path?
    There's another Loader config to specified the core path?

    What should be the right procedure to follow?
    Last edited by Nom4d3; 28 Mar 2011 at 9:08 AM. Reason: Only a fix on

  2. #2
    Sencha User Jacky Nguyen's Avatar
    Join Date
    Jul 2009
    Location
    Palo Alto, California
    Posts
    469
    Vote Rating
    14
    Jacky Nguyen has a spectacular aura about Jacky Nguyen has a spectacular aura about

      0  

    Default


    There's a development bootstrap.js that we didn't include in the release yet. You'll just need that one file for everything to be loaded automatically. Guides are being prepared and will be available before Final.
    Sencha Touch Lead Architect

  3. #3
    Sencha User Nom4d3's Avatar
    Join Date
    Sep 2008
    Location
    Araras / SP / Brazil
    Posts
    81
    Vote Rating
    1
    Nom4d3 is on a distinguished road

      0  

    Default


    Ok. Thanks for clarify. I'm using the ext-core.js during the production time for now.


Similar Threads

  1. How to know when loader finishes loading
    By tcozien in forum Ext GWT: Discussion
    Replies: 4
    Last Post: 24 Nov 2010, 7:39 AM
  2. Ext.ux.Loader: Load js/css Files Dynamically
    By mm_202 in forum Ext 3.x: User Extensions and Plugins
    Replies: 1
    Last Post: 24 Aug 2010, 6:20 AM
  3. [CLOSED][3.0 CORE] Ext core still have problems with json encode
    By christianjianelli in forum Ext 3.x: Bugs
    Replies: 12
    Last Post: 12 Jun 2009, 2:40 AM
  4. Replies: 2
    Last Post: 11 Jun 2009, 7:04 PM
  5. unminified/debug versions of non-core js files?
    By devnull in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 6 Sep 2007, 9:58 AM

Thread Participants: 1

Tags for this Thread

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