-
29 Nov 2012 5:06 AM #1
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.
-
29 Nov 2012 10:20 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
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 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.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote