Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Unified Diff: runtime/observatory/lib/src/elements/nav/menu_item.dart

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
]
];
}
« no previous file with comments | « runtime/observatory/lib/src/elements/nav/library_menu.dart ('k') | runtime/observatory/lib/src/elements/nav/notify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698