mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 03:55:57 +00:00
upgrade dojo to 1.8.3 (refs #570)
This commit is contained in:
35
lib/dijit/MenuSeparator.js.uncompressed.js
Normal file
35
lib/dijit/MenuSeparator.js.uncompressed.js
Normal file
@@ -0,0 +1,35 @@
|
||||
require({cache:{
|
||||
'url:dijit/templates/MenuSeparator.html':"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>"}});
|
||||
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
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user