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

Unified Diff: lib/src/codegen/html_codegen.dart

Issue 1268813003: format with dart_style 0.2.0 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « bin/devrun.dart ('k') | lib/src/runner/runtime_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/html_codegen.dart
diff --git a/lib/src/codegen/html_codegen.dart b/lib/src/codegen/html_codegen.dart
index d7e57422d9c4bd57d5b3b810b65b388e7d30612b..6e0f0ece7a104bbb212ba4ad9b0f5b16e4da7cdc 100644
--- a/lib/src/codegen/html_codegen.dart
+++ b/lib/src/codegen/html_codegen.dart
@@ -41,13 +41,10 @@ String generateEntryHtml(HtmlSourceNode root, AbstractCompiler compiler) {
var libraries = [];
var resources = new Set();
- visitInPostOrder(
- root,
- (n) {
- if (n is DartSourceNode) libraries.add(n);
- if (n is ResourceSourceNode) resources.add(n);
- },
- includeParts: false);
+ visitInPostOrder(root, (n) {
+ if (n is DartSourceNode) libraries.add(n);
+ if (n is ResourceSourceNode) resources.add(n);
+ }, includeParts: false);
root.htmlResourceNodes.forEach((element, resource) {
// Make sure we don't try and add this node again.
« no previous file with comments | « bin/devrun.dart ('k') | lib/src/runner/runtime_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698