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

24 lines
566 B
JavaScript
Raw Normal View History

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