Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove initComponent() function from viewport class.

  • Loading branch information...
commit f0068b2f9768fbe7abd094e54b9ad98a80da1470 1 parent 6aca948
Drew Neil authored
Showing with 7 additions and 12 deletions.
  1. +7 −12 public/app/views/Viewport.js
19 public/app/views/Viewport.js
View
@@ -6,16 +6,11 @@ ToolbarDemo.views.Viewport = Ext.extend(Ext.TabPanel, {
pack: 'center'
}
},
- initComponent: function() {
- Ext.apply(this, {
- items: [
- { xtype: 'homecard', id: 'home' },
- { xtype: 'searchcard' },
- { xtype: 'actioncard' },
- { xtype: 'settingscard' },
- { xtype: 'morecard' }
- ]
- });
- ToolbarDemo.views.Viewport.superclass.initComponent.apply(this, arguments);
- }
+ items: [
+ { xtype: 'homecard', id: 'home' },
+ { xtype: 'searchcard' },
+ { xtype: 'actioncard' },
+ { xtype: 'settingscard' },
+ { xtype: 'morecard' }
+ ]
});
Please sign in to comment.
Something went wrong with that request. Please try again.