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

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

Issue 50073007: fix barback and polymer build warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: pkg/barback/lib/src/utils.dart
diff --git a/pkg/barback/lib/src/utils.dart b/pkg/barback/lib/src/utils.dart
index 22203b4c89dc52a9580f600e9cb636cbc46a98f0..53ef822079eeb3e385393454d46c9281ffb96183 100644
--- a/pkg/barback/lib/src/utils.dart
+++ b/pkg/barback/lib/src/utils.dart
@@ -175,8 +175,9 @@ Future pumpEventQueue([int times=20]) {
return new Future.delayed(Duration.ZERO, () => pumpEventQueue(times - 1));
}
-/// Like [new Future], but avoids issue 11911 by using [new Future.value] under
+/// Like `new Future`, but avoids issue 11911 by using `new Future.value` under
/// the covers.
+// TODO(jmesserly): doc comment changed to due 14601.
Jennifer Messerly 2013/10/30 00:59:29 https://code.google.com/p/dart/issues/detail?id=14
Future newFuture(callback()) => new Future.value().then((_) => callback());
/// Returns a buffered stream that will emit the same values as the stream

Powered by Google App Engine
This is Rietveld 408576698