(object)
| 73 | }; |
| 74 | |
| 75 | function isCommandInMenu(object) { |
| 76 | // Verifies that we have a menuCommand element and that it is in a Menu. |
| 77 | var element = object.element || object; |
| 78 | return _ElementUtilities._matchesSelector(element, "." + _Constants.menuClass + " " + "." + _Constants.menuCommandClass); |
| 79 | } |
| 80 | |
| 81 | var Menu = _Base.Class.derive(Flyout.Flyout, function Menu_ctor(element, options) { |
| 82 | /// <signature helpKeyword="WinJS.UI.Menu.Menu"> |