From 1354d17270961fff662d40f90521223f8fd0d73b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 Aug 2012 18:59:10 +0400 Subject: update dojo to 1.7.3 --- lib/dijit/MenuSeparator.js.uncompressed.js | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 lib/dijit/MenuSeparator.js.uncompressed.js (limited to 'lib/dijit/MenuSeparator.js.uncompressed.js') diff --git a/lib/dijit/MenuSeparator.js.uncompressed.js b/lib/dijit/MenuSeparator.js.uncompressed.js new file mode 100644 index 000000000..f2f68bff9 --- /dev/null +++ b/lib/dijit/MenuSeparator.js.uncompressed.js @@ -0,0 +1,43 @@ +require({cache:{ +'url:dijit/templates/MenuSeparator.html':"\n\t\n\t\t
\n\t\t
\n\t\n\t\n\t\t
\n\t\t
\n\t\n"}}); +define("dijit/MenuSeparator", [ + "dojo/_base/declare", // declare + "dojo/dom", // dom.setSelectable + "./_WidgetBase", + "./_TemplatedMixin", + "./_Contained", + "dojo/text!./templates/MenuSeparator.html" +], function(declare, dom, _WidgetBase, _TemplatedMixin, _Contained, template){ + +/*===== + var _WidgetBase = dijit._WidgetBase; + var _TemplatedMixin = dijit._TemplatedMixin; + var _Contained = dijit._Contained; +=====*/ + + // module: + // dijit/MenuSeparator + // summary: + // A line between two menu items + + return declare("dijit.MenuSeparator", [_WidgetBase, _TemplatedMixin, _Contained], { + // summary: + // A line between two menu items + + templateString: template, + + buildRendering: function(){ + this.inherited(arguments); + dom.setSelectable(this.domNode, false); + }, + + isFocusable: function(){ + // summary: + // Override to always return false + // tags: + // protected + + return false; // Boolean + } + }); +}); -- cgit v1.2.3