function isChildOf(node, parent) {
		while (node) {
			if (parent === node) {
				return true;
			}

			node = node.parentNode;
		}

		return false;
	}
Creates a new menu button.

@-x-less MenuButton.less
@class tinymce.ui.MenuButton
@extends tinymce.ui.Button