web-apps/apps/presentationeditor/mobile/app/profile/Phone.js

24 lines
511 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
Ext.define('PE.profile.Phone', {
extend: 'Ext.app.Profile',
config: {
name: 'phone',
namespace: 'phone',
controllers: [
'Main',
'PE.controller.Presentation',
'PE.controller.toolbar.View'
],
views: [
'Main'
]
},
isActive: function() {
return (Ext.os.is.Phone && (Ext.os.is.iOS || Ext.os.is.Android));
},
launch: function() {
Ext.widget('pephonemain');
}
});