Defining the APP namespace is decent but it is strictly hardcoded to the set objects.
Using a module-based loader like Require.js is possible in the current state but the APP object needs to be exported and the routers saved in APP.Routers.
Maybe the initialization should be more fluid manner to allow dynamic loading of routers when define is available in the global namespace...
Defining the APP namespace is decent but it is strictly hardcoded to the set objects.
Using a module-based loader like Require.js is possible in the current state but the APP object needs to be exported and the routers saved in APP.Routers.
Maybe the initialization should be more fluid manner to allow dynamic loading of routers when
defineis available in the global namespace...