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

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

Issue 1266483003: format with dart_style 0.2.0-rc.3 (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 | « lib/src/codegen/ast_builder.dart ('k') | lib/src/codegen/js_codegen.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 6e0f0ece7a104bbb212ba4ad9b0f5b16e4da7cdc..d7e57422d9c4bd57d5b3b810b65b388e7d30612b 100644
--- a/lib/src/codegen/html_codegen.dart
+++ b/lib/src/codegen/html_codegen.dart
@@ -41,10 +41,13 @@ 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 | « lib/src/codegen/ast_builder.dart ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698