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
    Location
    Belo Horizonte, Brazil
    Posts
    5
    Vote Rating
    0
      0  

    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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1382
      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 @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

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
  •