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

Unified Diff: pkg/polymer/lib/src/build/code_extractor.dart

Issue 112843004: Add linter by default for polymer's pub-build, also cleans up the linter code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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: pkg/polymer/lib/src/build/code_extractor.dart
diff --git a/pkg/polymer/lib/src/build/code_extractor.dart b/pkg/polymer/lib/src/build/code_extractor.dart
index e6c6445c9ee9a70329dd133b1024e3e7664c6fe3..aa197fd6cf94522133df08a718bebcb1c1763439 100644
--- a/pkg/polymer/lib/src/build/code_extractor.dart
+++ b/pkg/polymer/lib/src/build/code_extractor.dart
@@ -68,6 +68,8 @@ class InlineCodeExtractor extends Transformer with PolymerTransformer {
htmlChanged ? new Asset.fromString(id, document.outerHtml) : input);
});
}
+
+ String toString() => 'polymer-code-extractor';
}
/** Parse [code] and determine whether it has a library directive. */

Powered by Google App Engine
This is Rietveld 408576698