| Index: pkg/polymer/lib/src/transform/import_inliner.dart
|
| diff --git a/pkg/polymer/lib/src/transform/import_inliner.dart b/pkg/polymer/lib/src/transform/import_inliner.dart
|
| index 889ce209706548fa0657291ffc1f93c79ce3cfa3..669112b78877b902b2f2a4cc7bd8f9f83555b4d5 100644
|
| --- a/pkg/polymer/lib/src/transform/import_inliner.dart
|
| +++ b/pkg/polymer/lib/src/transform/import_inliner.dart
|
| @@ -16,10 +16,14 @@ import 'common.dart';
|
| /** Recursively inlines polymer-element definitions from html imports. */
|
| // TODO(sigmund): make sure we match semantics of html-imports for tags other
|
| // than polymer-element (see dartbug.com/12613).
|
| -class ImportedElementInliner extends Transformer {
|
| +class ImportedElementInliner extends Transformer with PolymerTransformer {
|
| + final TransformOptions options;
|
| +
|
| + ImportedElementInliner(this.options);
|
| +
|
| /** Only run on entry point .html files. */
|
| Future<bool> isPrimary(Asset input) =>
|
| - new Future.value(isPrimaryHtml(input.id));
|
| + new Future.value(options.isHtmlEntrypoint(input.id));
|
|
|
| Future apply(Transform transform) {
|
| var seen = new Set<AssetId>();
|
|
|