Ext.define('school.Application', { extend: 'Ext.app.Application', name: 'school', requires: [ 'school.*', 'Ext.window.MessageBox', 'Ext.window.Toast' ], mainView: 'school.view.viewport.Viewport', defaultToken: 'main', launch: function(profile) { Ext.getBody().removeCls('launching'); this.callParent([profile]); } });