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

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

Issue 200983002: Re-run a transform when a secondary input starts existing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 9 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/barback/lib/src/asset_cascade.dart ('k') | pkg/barback/lib/src/phase.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/group_runner.dart
diff --git a/pkg/barback/lib/src/group_runner.dart b/pkg/barback/lib/src/group_runner.dart
index aefda2c7fc67414e8b81a6087d1b93de42f229bd..970d4aa4ceed9599176883c6b2ea0c6a2e6be6e7 100644
--- a/pkg/barback/lib/src/group_runner.dart
+++ b/pkg/barback/lib/src/group_runner.dart
@@ -53,8 +53,8 @@ class GroupRunner {
final _onLogPool = new StreamPool<LogEntry>.broadcast();
GroupRunner(AssetCascade cascade, this._group, this._location) {
- _addPhase(new Phase(cascade, _location), _group.phases.first);
- for (var phase in _group.phases.skip(1)) {
+ _addPhase(new Phase(cascade, _location), []);
+ for (var phase in _group.phases) {
_addPhase(_phases.last.addPhase(), phase);
}
« no previous file with comments | « pkg/barback/lib/src/asset_cascade.dart ('k') | pkg/barback/lib/src/phase.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698