-
27 Jan 2012 6:46 AM #1
[PR4] Code Suggestion
[PR4] Code Suggestion
In sencha-touch-debug.js:6180 it would be nice if the cls variable was null some type of warning or error could be logged so that the developer would know the class was missing?
Something like
if (cls === null) {
Ext.Logger.error('Class with name ' + name + ' doesnt exist');
}
-
27 Jan 2012 6:47 AM #2
For example
For example
This happened to me when I misspelt a name typing to instantiate a view.
e.g. Ext.create('MyApp.view.about');
-
28 Jan 2012 2:16 PM #3Sencha - Sencha Touch Dev Team
- Join Date
- Jul 2009
- Location
- Palo Alto, California
- Posts
- 469
- Vote Rating
- 9
This is actually an issue with the build that we recently discovered, which caused debugging code in sencha-touch-debug.js to be accidentally tripped out. We have addressed this in the next release.
Sencha Touch Lead Architect
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote