29 Nov 2012 5:06 AM #1
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.
29 Nov 2012 10:20 AM #2
- 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.0Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
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. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
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.