web-apps/apps/presentationeditor/mobile/app/profile/Phone.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

24 lines
511 B
JavaScript

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');
}
});