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

Unified Diff: pkg/barback/lib/src/phase_input.dart

Issue 23625002: Support loading transformer plugins from pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. 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
« no previous file with comments | « no previous file | pkg/barback/test/package_graph/add_remove_transform_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/phase_input.dart
diff --git a/pkg/barback/lib/src/phase_input.dart b/pkg/barback/lib/src/phase_input.dart
index 840b564576394416f15f321788f98b8e6bd45b98..736bd0593fde7a5f776290b3bc01895b2d013562 100644
--- a/pkg/barback/lib/src/phase_input.dart
+++ b/pkg/barback/lib/src/phase_input.dart
@@ -136,7 +136,7 @@ class PhaseInput {
if (brandNewTransformers.isEmpty) return;
brandNewTransformers.forEach(_transformers.add);
- _adjustTransformers();
+ if (_adjustTransformersFuture == null) _adjustTransformers();
}
/// Asynchronously determines which transformers can consume [input] as a
« no previous file with comments | « no previous file | pkg/barback/test/package_graph/add_remove_transform_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698