From f0cfe83e3725f9a3928da97a6e3085e79cb25309 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Mar 2013 10:26:24 +0400 Subject: upgrade dojo to 1.8.3 (refs #570) --- lib/dijit/MenuSeparator.js.uncompressed.js | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 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..8e7bf8405 --- /dev/null +++ b/lib/dijit/MenuSeparator.js.uncompressed.js @@ -0,0 +1,35 @@ +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){ + + // module: + // dijit/MenuSeparator + + 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-54-g00ecf