-
28 Mar 2011 4:48 AM #1
[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:
In my application.js 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>
What happens:Code:Ext.define('App.MyViewport', { extend: 'Ext.container.Viewport', requires: ['Ext.Ajax', 'Ext.panel.Panel', 'Ext.tab.TabPanel'] }); Ext.onReady(function() { new App.MyViewport(); });
'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
-
28 Mar 2011 9:08 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Jul 2009
- Location
- Palo Alto, California
- Posts
- 469
- Vote Rating
- 9
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
-
28 Mar 2011 9:10 AM #3
Ok. Thanks for clarify. I'm using the ext-core.js during the production time for now.

Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
How to know when loader finishes loading
By tcozien in forum Ext GWT: DiscussionReplies: 4Last Post: 24 Nov 2010, 7:39 AM -
Ext.ux.Loader: Load js/css Files Dynamically
By mm_202 in forum Ext 3.x: User Extensions and PluginsReplies: 1Last Post: 24 Aug 2010, 6:20 AM -
[CLOSED][3.0 CORE] Ext core still have problems with json encode
By christianjianelli in forum Ext 3.x: BugsReplies: 12Last Post: 12 Jun 2009, 2:40 AM -
[FIXED][3.0 CORE] ext-core-3.0.zip: duplicated png files examples/jsonp/images
By tjyang in forum Ext 3.x: BugsReplies: 2Last Post: 11 Jun 2009, 7:04 PM -
unminified/debug versions of non-core js files?
By devnull in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 6 Sep 2007, 9:58 AM


Reply With Quote