Results 1 to 2 of 2

Thread: Ext.Direct is undefined with ext-debug

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

    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 Ext.direct with ext-debug.js correctly?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Did you require the Ext.direct.* 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
    https://github.com/mitchellsimoens

Posting Permissions

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