Skip to content

Instantly share code, notes, and snippets.

@mikekunze
Created January 5, 2012 02:05
Show Gist options
  • Save mikekunze/1563311 to your computer and use it in GitHub Desktop.
Save mikekunze/1563311 to your computer and use it in GitHub Desktop.
{
main: function() {
Ext.Loader.setConfig({
enabled: true
});
Ext.bang.util.app = Ext.create('Ext.app.Application', {
name: 'bang',
appFolder: 'bang',
controllers: [ 'interface' ],
launch: function() {
remotejs.logMessage('[Client] - launching interface app');
// Border Viewport
Ext.bang.views.viewport = Ext.create('Ext.container.Viewport', {
layout: 'border',
renderTo: Ext.getBody(),
items: [
{ xtype: 'interfaceWest' },
{ xtype: 'interfaceEast' },
{ xtype: 'interfaceCenter' }
]
});
}
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment