X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/Separator.html?ds=inline diff --git a/docs/source/Separator.html b/docs/source/Separator.html index 393eb65a..b3604c51 100644 --- a/docs/source/Separator.html +++ b/docs/source/Separator.html @@ -1,11 +1,18 @@ - -
-/** + + + ++ \ No newline at end of fileThe source code + + + + +/*! + * Ext JS Library 3.2.1 + * Copyright(c) 2006-2010 Ext JS, Inc. + * licensing@extjs.com + * http://www.extjs.com/license + */ +/** * @class Ext.menu.Separator * @extends Ext.menu.BaseItem * Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will @@ -14,11 +21,7 @@ * @param {Object} config Configuration options * @xtype menuseparator */ -Ext.menu.Separator = function(config){ - Ext.menu.Separator.superclass.constructor.call(this, config); -}; - -Ext.extend(Ext.menu.Separator, Ext.menu.BaseItem, { +Ext.menu.Separator = Ext.extend(Ext.menu.BaseItem, { /** * @cfg {String} itemCls The default CSS class to use for separators (defaults to "x-menu-sep") */ @@ -44,6 +47,6 @@ Ext.extend(Ext.menu.Separator, Ext.menu.BaseItem, { Ext.menu.Separator.superclass.onRender.apply(this, arguments); } }); -Ext.reg('menuseparator', Ext.menu.Separator);- +Ext.reg('menuseparator', Ext.menu.Separator);