diff options
author | Andrew Dolgov <[email protected]> | 2013-03-18 10:26:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-18 10:26:26 +0400 |
commit | f0cfe83e3725f9a3928da97a6e3085e79cb25309 (patch) | |
tree | 4b0af188defaa807c7bc6ff3a101b41c9166c463 /lib/dijit/MenuBarItem.js.uncompressed.js | |
parent | 9a2885da170ffd64358b99194095851a2d09c1b6 (diff) |
upgrade dojo to 1.8.3 (refs #570)
Diffstat (limited to 'lib/dijit/MenuBarItem.js.uncompressed.js')
-rw-r--r-- | lib/dijit/MenuBarItem.js.uncompressed.js | 28 |
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; +}); |