Results 1 to 2 of 2

Thread: different behavior between sencha-touch-debug.js and sencha-touch-all-debug.js

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Belo Horizonte, Brazil
    Vote Rating

    Default different behavior between sencha-touch-debug.js and sencha-touch-all-debug.js

    By using sencha-touch-all-debug.js when I set refs and trying to use getter this.getRef () when the ref has not yet been instantiated is returning undefined.
    When I change the app to file sencha-touch-debug.js works properly as it should (if the instance is returned if there instantiates and returns).
    I believe that the information is sufficient, if you need details I am available.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    I just tried a test and it is working for me. I instantiate a class, in the controller I use the getter created for the ref and it always returns the instance.

    This in 2.1.0
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

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

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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