8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
18 lines
No EOL
568 B
JavaScript
18 lines
No EOL
568 B
JavaScript
dojo.provide("dijit.MenuBarItem");
|
|
|
|
dojo.require("dijit.MenuItem");
|
|
|
|
dojo.declare("dijit._MenuBarItemMixin", null, {
|
|
templatePath: dojo.moduleUrl("dijit", "templates/MenuBarItem.html"),
|
|
|
|
// overriding attributeMap because we don't have icon
|
|
attributeMap: dojo.delegate(dijit._Widget.prototype.attributeMap, {
|
|
label: { node: "containerNode", type: "innerHTML" }
|
|
})
|
|
});
|
|
|
|
dojo.declare("dijit.MenuBarItem", [dijit.MenuItem, dijit._MenuBarItemMixin], {
|
|
// summary:
|
|
// Item in a MenuBar that's clickable, and doesn't spawn a submenu when pressed (or hovered)
|
|
|
|
}); |