diff options
author | Andrew Dolgov <[email protected]> | 2012-08-14 18:59:10 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-14 18:59:18 +0400 |
commit | 1354d17270961fff662d40f90521223f8fd0d73b (patch) | |
tree | e9266be71587e47c800303446e968a6d3565e2cf /lib/dijit/MenuBarItem.js.uncompressed.js | |
parent | d04f8c826f5283765f52cf6b98b42a1ed8f2d6bc (diff) |
update dojo to 1.7.3
Diffstat (limited to 'lib/dijit/MenuBarItem.js.uncompressed.js')
-rw-r--r-- | lib/dijit/MenuBarItem.js.uncompressed.js | 35 |
1 files changed, 35 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..1369cf381 --- /dev/null +++ b/lib/dijit/MenuBarItem.js.uncompressed.js @@ -0,0 +1,35 @@ +require({cache:{ +'url:dijit/templates/MenuBarItem.html':"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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){ + +/*===== + var MenuItem = dijit.MenuItem; +=====*/ + + // module: + // dijit/MenuBarItem + // summary: + // Item in a MenuBar that's clickable, and doesn't spawn a submenu when pressed (or hovered) + + + 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; +}); |