Results 1 to 4 of 4

Thread: Class extend upgrade from 1.1.1 to 2.3.0

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jun 2013
    Vote Rating

    Default Class extend upgrade from 1.1.1 to 2.3.0


    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

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