View Full Version : Building An extjs application without CMD

24 Oct 2013, 2:57 PM
Im having a problem that seems to be a recurring issue.

I have created a bunch of different classes using Ext.define();

For example, lets call this ext-app-min.js


The two above scripts are in my "Build" file, which essentially holds all the Ext.define Statements for my app. I got the list in the right order because I took it directly from Ext.Loader.history.

When I created my index.html page, I included ext-all.js, and ext-app-min.js after the script tag for ext-all.js.

The loader is disabled, and I get Ext.Loader is not enabled, so dependencies cannot be resolved dynamically.

I know the application works without using one file. Is there something I am missing?

With the loader ENABLED, it tries to load the file from the namespace path, ie;


I get a 404 error that it cant load the file from wwwroot/My/Class/Really/Nested/Namespace.js

Somebody please help me! It's driving me nuts! Let me know if I didn't describe my issue properly. And NO, I will not use Sencha command. :-)

25 Oct 2013, 2:36 AM
I think you have taken Loader.history in forward order, but correct load order is reverse. ;)