summaryrefslogtreecommitdiff
path: root/lib/dijit/MenuBarItem.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dijit/MenuBarItem.js')
-rw-r--r--lib/dijit/MenuBarItem.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/dijit/MenuBarItem.js b/lib/dijit/MenuBarItem.js
new file mode 100644
index 000000000..77088bff2
--- /dev/null
+++ b/lib/dijit/MenuBarItem.js
@@ -0,0 +1,14 @@
+/*
+ Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
+ see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.MenuBarItem"]){
+dojo._hasResource["dijit.MenuBarItem"]=true;
+dojo.provide("dijit.MenuBarItem");
+dojo.require("dijit.MenuItem");
+dojo.declare("dijit._MenuBarItemMixin",null,{templateString:dojo.cache("dijit","templates/MenuBarItem.html","<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitem\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<span dojoAttachPoint=\"containerNode\"></span>\n</div>\n"),attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"}})});
+dojo.declare("dijit.MenuBarItem",[dijit.MenuItem,dijit._MenuBarItemMixin],{});
+}