Skip to content

Commit

Permalink
Remove initComponent() function from viewport class.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Apr 5, 2011
1 parent 6aca948 commit f0068b2
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions public/app/views/Viewport.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@ ToolbarDemo.views.Viewport = Ext.extend(Ext.TabPanel, {
pack: 'center' pack: 'center'
} }
}, },
initComponent: function() { items: [
Ext.apply(this, { { xtype: 'homecard', id: 'home' },
items: [ { xtype: 'searchcard' },
{ xtype: 'homecard', id: 'home' }, { xtype: 'actioncard' },
{ xtype: 'searchcard' }, { xtype: 'settingscard' },
{ xtype: 'actioncard' }, { xtype: 'morecard' }
{ xtype: 'settingscard' }, ]
{ xtype: 'morecard' }
]
});
ToolbarDemo.views.Viewport.superclass.initComponent.apply(this, arguments);
}
}); });

0 comments on commit f0068b2

Please sign in to comment.