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

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

Issue 23898009: Switch polymer's build.dart to use the new linter. This CL does the following (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: pkg/polymer/lib/src/transform/code_extractor.dart
diff --git a/pkg/polymer/lib/src/transform/code_extractor.dart b/pkg/polymer/lib/src/transform/code_extractor.dart
index a46300ef2f3b4def2f68599eb832e990154d22d7..580f5ac141e923cc8a5da1390bcc0a6cceaa5050 100644
--- a/pkg/polymer/lib/src/transform/code_extractor.dart
+++ b/pkg/polymer/lib/src/transform/code_extractor.dart
@@ -20,7 +20,11 @@ import 'common.dart';
* Transformer that extracts Dart code inlined in HTML script tags and outputs a
* separate file for each.
*/
-class InlineCodeExtractor extends Transformer {
+class InlineCodeExtractor extends Transformer with PolymerTransformer {
+ final TransformOptions options;
+
+ InlineCodeExtractor(this.options);
+
/** Only run this transformer on .html files. */
final String allowedExtensions = ".html";

Powered by Google App Engine
This is Rietveld 408576698