Created
April 30, 2016 17:26
-
-
Save dongryphon/a2729696f3f52c3f9f4c1faa8425fcdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//<debug> | |
// If we have ?nolaunch query parameter, don't call Ext.application | |
// | |
if (location.search.match(/\bnolaunch\b/)) { | |
Ext.require(''); // still need the reequires from Ext.application | |
} else { | |
//</debug> | |
/* | |
* This file is responsible for launching the application. Application logic should be | |
* placed in the Admin.Application class. | |
*/ | |
Ext.application({ | |
name: 'Admin', | |
extend: 'Admin.Application', | |
// Simply require all classes in the application. This is sufficient to ensure | |
// that all Admin classes will be included in the application build. If classes | |
// have specific requirements on each other, you may need to still require them | |
// explicitly. | |
// | |
requires: [ | |
'Admin.*' | |
] | |
}); | |
//<debug> | |
} | |
//</debug> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment