summaryrefslogtreecommitdiff
path: root/lib/dijit/MenuBarItem.js.uncompressed.js
diff options
context:
space:
mode:
authorRichard Beales <[email protected]>2013-03-18 07:32:01 +0000
committerRichard Beales <[email protected]>2013-03-18 07:32:01 +0000
commit7c97d17aaf373339a8bcd917ad59ca6018148f0d (patch)
tree5a3c04f0f9529be392c1263d3feb75806eb43797 /lib/dijit/MenuBarItem.js.uncompressed.js
parent70db7424e7068701e60cc5bcdfe8f858be508179 (diff)
parentc670a80ddd9b03bd4ea6d940a9ed682fd26248d7 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'lib/dijit/MenuBarItem.js.uncompressed.js')
-rw-r--r--lib/dijit/MenuBarItem.js.uncompressed.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/dijit/MenuBarItem.js.uncompressed.js b/lib/dijit/MenuBarItem.js.uncompressed.js
new file mode 100644
index 000000000..74294b06c
--- /dev/null
+++ b/lib/dijit/MenuBarItem.js.uncompressed.js
@@ -0,0 +1,28 @@
+require({cache:{
+'url:dijit/templates/MenuBarItem.html':"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n"}});
+define("dijit/MenuBarItem", [
+ "dojo/_base/declare", // declare
+ "./MenuItem",
+ "dojo/text!./templates/MenuBarItem.html"
+], function(declare, MenuItem, template){
+
+ // module:
+ // dijit/MenuBarItem
+
+ var _MenuBarItemMixin = declare("dijit._MenuBarItemMixin", null, {
+ templateString: template,
+
+ // Map widget attributes to DOMNode attributes.
+ _setIconClassAttr: null // cancel MenuItem setter because we don't have a place for an icon
+ });
+
+ var MenuBarItem = declare("dijit.MenuBarItem", [MenuItem, _MenuBarItemMixin], {
+ // summary:
+ // Item in a MenuBar that's clickable, and doesn't spawn a submenu when pressed (or hovered)
+
+ });
+ MenuBarItem._MenuBarItemMixin = _MenuBarItemMixin; // dojox.mobile is accessing this
+
+
+ return MenuBarItem;
+});