Skip to content

Instantly share code, notes, and snippets.

@dongryphon
Created April 30, 2016 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dongryphon/a2729696f3f52c3f9f4c1faa8425fcdf to your computer and use it in GitHub Desktop.
Save dongryphon/a2729696f3f52c3f9f4c1faa8425fcdf to your computer and use it in GitHub Desktop.
//<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