I am trying to require classes of my application using
I specified pathes before requiring:
for include extjs 4.
As result, all required classes that are located in 'Ext' namespace was included. But my classes, that are located in 'MyApp', not. Did I mistake, or ExtJs4 can't to load my classes by Ext.require?
Here my project folders structure:
In the console I see:
||||-Foo.js // <--- I'am trying to instantiate it by new MyApp.somenamespace.Foo();
||||-FooTest.html // <--- Here we are
Uncaught ReferenceError: MyApp is not defined