grunt-sencha-dependencies
Version:
A Grunt.js plugin which will figure out the order of Ext classes your Ext.application uses so the list can be passed on to further commands like concat, jshint, etc
21 lines (19 loc) • 586 B
JavaScript
/*
* @class Twitter.view.Main
* @extends Ext.Container
*
* The viewport is the application's shell - the parts of the UI that don't change. In the Twitter app, we only ever
* render a single view at a time, so we use a fullscreen card layout here. The other part of the UI is the search list
* on the left, which we add as a docked item.
*/
Ext.define('Twitter.view.Main', {
extend: 'Ext.Container',
requires: [
'Twitter.view.SearchBar',
'Twitter.view.SearchList',
'Twitter.view.TweetList'
],
config: {
fullscreen: true
}
});