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 - Sr Software Engineer 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
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch

Posting Permissions

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