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

Unified Diff: pkg/barback/lib/src/graph/asset_cascade.dart

Issue 554783003: Add the ability for a PackageProvider to declare static packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/barback/CHANGELOG.md ('k') | pkg/barback/lib/src/graph/package_graph.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/graph/asset_cascade.dart
diff --git a/pkg/barback/lib/src/graph/asset_cascade.dart b/pkg/barback/lib/src/graph/asset_cascade.dart
index aca3588545ccc542d0aab3dc7baf038f48d9afd4..c35d7a29f182fd1b27260c0ca02ee6d0ae71d132 100644
--- a/pkg/barback/lib/src/graph/asset_cascade.dart
+++ b/pkg/barback/lib/src/graph/asset_cascade.dart
@@ -82,8 +82,8 @@ class AssetCascade {
Stream<NodeStatus> get onStatusChange => _streams.onStatusChange;
/// Returns all currently-available output assets from this cascade.
- AssetSet get availableOutputs =>
- new AssetSet.from(_phases.last.availableOutputs.map((node) => node.asset));
+ Future<AssetSet> get availableOutputs => new Future.value(new AssetSet.from(
+ _phases.last.availableOutputs.map((node) => node.asset)));
/// Creates a new [AssetCascade].
///
« no previous file with comments | « pkg/barback/CHANGELOG.md ('k') | pkg/barback/lib/src/graph/package_graph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698