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

Unified Diff: client/samples/dartcombat/grids.dart

Issue 8467034: Isolates in frog - tweaks in existing js code to make things run (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 years, 1 month 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: client/samples/dartcombat/grids.dart
diff --git a/client/samples/dartcombat/grids.dart b/client/samples/dartcombat/grids.dart
index eaa6d8ca1c600c665b53106e832dbe6415b30dc5..bbb317274a2746282f9b66651ae53b2e53f64701 100644
--- a/client/samples/dartcombat/grids.dart
+++ b/client/samples/dartcombat/grids.dart
@@ -49,7 +49,7 @@ class BoatGrid {
} else {
state.hit(x, y);
b.hitCount++;
- return b.sunk ? const [Constants.SUNK, b.length] : const [Constants.HIT];
+ return b.sunk ? [Constants.SUNK, b.length] : const [Constants.HIT];
}
}
}

Powered by Google App Engine
This is Rietveld 408576698