Index: runtime/observatory/lib/src/elements/nav/menu_item.dart |
diff --git a/runtime/observatory/lib/src/elements/nav/menu_item.dart b/runtime/observatory/lib/src/elements/nav/menu_item.dart |
index 5be6723ff053ab5b00d431fd4968cc32f6f8c9a1..b7c3ea3f7d3a3540979c811cbc0a016b954e8b2d 100644 |
--- a/runtime/observatory/lib/src/elements/nav/menu_item.dart |
+++ b/runtime/observatory/lib/src/elements/nav/menu_item.dart |
@@ -29,9 +29,8 @@ class NavMenuItemElement extends HtmlElement implements Renderable { |
_r.dirty(); |
} |
- |
- factory NavMenuItemElement(String label, {String link, |
- RenderingQueue queue}) { |
+ factory NavMenuItemElement(String label, |
+ {String link, RenderingQueue queue}) { |
assert(label != null); |
NavMenuItemElement e = document.createElement(tag.name); |
e._r = new RenderingScheduler(e, queue: queue); |
@@ -60,10 +59,8 @@ class NavMenuItemElement extends HtmlElement implements Renderable { |
new LIElement() |
..classes = ['nav-menu-item'] |
..children = [ |
- new AnchorElement(href: link) |
- ..text = label, |
- new UListElement() |
- ..children = _content |
+ new AnchorElement(href: link)..text = label, |
+ new UListElement()..children = _content |
] |
]; |
} |