-
Sencha User
Class extend upgrade from 1.1.1 to 2.3.0
Hi,
I am updating my code from 1.1.1 to 2.3.0, I've made all the changes required by the upgrade guide (and the comments). When I create a base class from a panel and then extend the base class I keep getting the loader error:
Uncaught Error: [Ext.Loader] Failed loading 'Base/Panel.js', please verify that the file exists
An example of the code I use is:
Ext.define('Base.Panel', {
extend: 'Ext.Panel',
(...)
});
Ext.define('Another.Panel', {
extend: 'Base.Panel',
(...)
});
Am I missing something, has someone else faced similar issues?
-- Edit --
Noticed this was happening because I had all the classes in a single file. I just want to upgrade easily. So my new question would be: Is there a way of leaving all the classes in a single file?
Last edited by ndjb20; 1 Nov 2013 at 8:36 AM.
Reason: Change of focus
-
I have limited experience with Ext 2.x, but you might try posting this question in the Ext 2.x forum.
-
Sencha User
Oops, thanks, thought I had, must have put it in the wrong forum by mistake.
-
No worries. I've moved the thread over.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules