Results 1 to 2 of 2

Thread: Ext.Direct is undefined with ext-debug

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Vote Rating

    Default Ext.Direct is undefined with ext-debug

    I am using Sencha Architect 2 In my application development. It uses ext-all-debug.js. Application works fine. But now I want to create a custom build code with Sencha SDK Tools. I shall use ext-debug for this (Sencha SDK Tools do not work with ext-all-debug). But when I run my application with ext-debug I`m getting an Error 'Ext.Direct is undefined' and 'QueryMyFlat is not defined'.

    With ext-debug Sencha SDK Tools throws an error:
    $ sencha create jsb -a http://localhost/kommuna/index.html -p kommuna.jsb3 -v
    Error thown from your application with message: ReferenceError: Can't find variable: QueryMyFlat

    How to use with ext-debug.js correctly?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Did you require the* namespace and use the Ext.Direct stuff within the launch/init method of Ext.application?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts