View Full Version : How to obtain an ordered list of dependencies?

19 Jan 2012, 6:47 PM
I want to load an ExtJS app on a page (in development mode, using the Loader) and extract a list of classes that were loaded on the page and in the order they were required. I see Ext.Loader.history, but this appears to list the classes in the order they were encountered during init, so I am seeing dependent classes listed after the class that needs them.

Reversing the list doesn't quite work, either - it's rather a mixed bag.

20 Jan 2012, 8:52 AM
if you use the SDK tools, the jsb file will be in order. Loader will evaluate the Ext.define statement to figure out what classes are required, that's probably why you see dependent loaded after.

20 Jan 2012, 9:57 AM
The SDK tools are not suitable for our environment. So, to my question, I guess the answer is no?