X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/widgets/Viewport.js diff --git a/src/widgets/Viewport.js b/src/widgets/Viewport.js index ab125b5d..172efaea 100644 --- a/src/widgets/Viewport.js +++ b/src/widgets/Viewport.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ @@ -29,7 +29,7 @@ new Ext.Viewport({ collapsible: true, title: 'Navigation', width: 200 - // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} + // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} }, { region: 'south', title: 'Title for Panel', @@ -64,44 +64,45 @@ new Ext.Viewport({ * @xtype viewport */ Ext.Viewport = Ext.extend(Ext.Container, { - /* - * Privatize config options which, if used, would interfere with the - * correct operation of the Viewport as the sole manager of the - * layout of the document body. - */ + /* + * Privatize config options which, if used, would interfere with the + * correct operation of the Viewport as the sole manager of the + * layout of the document body. + */ /** * @cfg {Mixed} applyTo @hide - */ + */ /** * @cfg {Boolean} allowDomMove @hide - */ + */ /** * @cfg {Boolean} hideParent @hide - */ + */ /** * @cfg {Mixed} renderTo @hide - */ + */ /** * @cfg {Boolean} hideParent @hide - */ + */ /** * @cfg {Number} height @hide - */ + */ /** * @cfg {Number} width @hide - */ + */ /** * @cfg {Boolean} autoHeight @hide - */ + */ /** * @cfg {Boolean} autoWidth @hide - */ + */ /** * @cfg {Boolean} deferHeight @hide - */ + */ /** * @cfg {Boolean} monitorResize @hide - */ + */ + initComponent : function() { Ext.Viewport.superclass.initComponent.call(this); document.getElementsByTagName('html')[0].className += ' x-viewport'; @@ -121,4 +122,4 @@ Ext.Viewport = Ext.extend(Ext.Container, { this.fireEvent('resize', this, w, h, w, h); } }); -Ext.reg('viewport', Ext.Viewport); \ No newline at end of file +Ext.reg('viewport', Ext.Viewport);