Files
web-doc-editor/js/main.js
2012-05-25 17:59:42 +04:00

15 lines
569 B
JavaScript

Ext.Loader.setPath('Ext.ux', './extjs/ux')
Ext.application({
name : 'phpdoe',
appFolder : 'js',
stores: ['Files', 'Languages', 'ConfigCards', 'Themes', 'EditorThemes', 'UILanguages'],
models: ['File', 'Language', 'ConfigCard', 'Theme', 'UILanguage'],
requires : ['phpdoe.util.ajax' , 'phpdoe.util.config', 'phpdoe.view.window.msg'],
controllers: [ 'main.load', 'main', 'main.menu', 'main.config'],
launch : function () {
Msg = Ext.create('phpdoe.view.window.msg');
// all we need - run in main controller
}
});