X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/Separator.html?ds=sidebyside diff --git a/docs/source/Separator.html b/docs/source/Separator.html index e3f342a6..b3604c51 100644 --- a/docs/source/Separator.html +++ b/docs/source/Separator.html @@ -1,13 +1,14 @@ + The source code
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.2.1
+ * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -20,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") */ @@ -50,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); \ No newline at end of file