Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Location
    Belo Horizonte, Brazil
    Posts
    5
    Vote Rating
    0
    leandroafonso is on a distinguished road

      0  

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

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,684
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

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

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