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

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

Issue 223553008: Only pass an AssetId to isPrimary and declareOutputs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: older barback compatibility Created 6 years, 8 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 | « pkg/polymer/lib/src/build/polyfill_injector.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/build/script_compactor.dart
diff --git a/pkg/polymer/lib/src/build/script_compactor.dart b/pkg/polymer/lib/src/build/script_compactor.dart
index dfb25cf5f66e1a42ddfa71701b93696c823c182d..61cec74a2bae4980ad047b4ba989fcec307de68e 100644
--- a/pkg/polymer/lib/src/build/script_compactor.dart
+++ b/pkg/polymer/lib/src/build/script_compactor.dart
@@ -49,8 +49,8 @@ class ScriptCompactor extends Transformer {
: resolvers = new Resolvers(sdkDir != null ? sdkDir : dartSdkDirectory);
/// Only run on entry point .html files.
- Future<bool> isPrimary(Asset input) =>
- new Future.value(options.isHtmlEntryPoint(input.id));
+ Future<bool> isPrimary(AssetId id) =>
Siggi Cherem (dart-lang) 2014/04/08 22:56:20 we seem to be missing the fix here
nweiz 2014/04/08 22:58:09 Oops, done.
+ new Future.value(options.isHtmlEntryPoint(id));
Future apply(Transform transform) =>
new _ScriptCompactor(transform, options, resolvers).apply();
« no previous file with comments | « pkg/polymer/lib/src/build/polyfill_injector.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698