Skip to content

Instantly share code, notes, and snippets.

@jacob414
Created May 27, 2011 14:55
Show Gist options
  • Save jacob414/995410 to your computer and use it in GitHub Desktop.
Save jacob414/995410 to your computer and use it in GitHub Desktop.
MMMM, delicious! Green tea mixed with coffee!
class BaseScreen extends Ext.Panel
title: 'Base panel'
iconCls: 'info'
class Screen1 extends BaseScreen
title: 'First screen'
html: 'Content of one screen'
class Screen2 extends BaseScreen
title: 'Second screen'
html: 'Content of another screen'
class App extends Ext.TabPanel
fullscreen: true
tabBar:
dock: 'bottom'
layout: pack: 'center'
items: [new Screen1, new Screen2]
Ext.setup
icon: 'icon.png'
glossOnIcon: false
onReady: ->
app = new App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment