Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / source / widgets / menu / Separator.js
diff --git a/source/widgets/menu/Separator.js b/source/widgets/menu/Separator.js
deleted file mode 100644 (file)
index 6e6cf0f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
-/**\r
- * @class Ext.menu.Separator\r
- * @extends Ext.menu.BaseItem\r
- * Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will\r
- * add one of these by using "-" in you call to add() or in your items config rather than creating one directly.\r
- * @constructor\r
- * @param {Object} config Configuration options\r
- */\r
-Ext.menu.Separator = function(config){\r
-    Ext.menu.Separator.superclass.constructor.call(this, config);\r
-};\r
-\r
-Ext.extend(Ext.menu.Separator, Ext.menu.BaseItem, {\r
-    /**\r
-     * @cfg {String} itemCls The default CSS class to use for separators (defaults to "x-menu-sep")\r
-     */\r
-    itemCls : "x-menu-sep",\r
-    /**\r
-     * @cfg {Boolean} hideOnClick True to hide the containing menu after this item is clicked (defaults to false)\r
-     */\r
-    hideOnClick : false,\r
-\r
-    // private\r
-    onRender : function(li){\r
-        var s = document.createElement("span");\r
-        s.className = this.itemCls;\r
-        s.innerHTML = " ";\r
-        this.el = s;\r
-        li.addClass("x-menu-sep-li");\r
-        Ext.menu.Separator.superclass.onRender.apply(this, arguments);\r
-    }\r
-});
\ No newline at end of file