Ext.define('school.Application', { extend: 'Ext.app.Application', name: 'school', requires: [ 'school.*', 'Ext.window.MessageBox', 'Ext.window.Toast' ], mainView: 'school.view.viewport.Viewport', stores: [ // TODO: add global / shared stores here 'school.store.Grade', 'school.store.Class', 'school.store.Subject' ], defaultToken: 'main', launch: function (profile) { Ext.getBody().removeCls('launching'); this.callParent([profile]); } });