1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    3
    Vote Rating
    0
    ndjb20 is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    8,543
    Vote Rating
    228
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    I have limited experience with Ext 2.x, but you might try posting this question in the Ext 2.x forum.


    Join me at SenchaCon 2016!

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    3
    Vote Rating
    0
    ndjb20 is on a distinguished road

      0  

    Default

    Oops, thanks, thought I had, must have put it in the wrong forum by mistake.

  4. #4
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    8,543
    Vote Rating
    228
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    No worries. I've moved the thread over.


    Join me at SenchaCon 2016!

Thread Participants: 1

Tags for this Thread