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

Unified Diff: src/tests/site/code/types_no.dart

Issue 83663005: added front page samples to testing, plus a couple of tweaks to front page and code lab (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: put front page code snippets under testing, minor tweaks, fixed carousel height problem Created 7 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: src/tests/site/code/types_no.dart
diff --git a/src/tests/site/code/types_no.dart b/src/tests/site/code/types_no.dart
index d97a6ff64f575319b770f4d5637d0287bc4ef8d0..c444aabb40d9ece1a043b6f0634c69e3070f5150 100644
--- a/src/tests/site/code/types_no.dart
+++ b/src/tests/site/code/types_no.dart
@@ -1,3 +1,10 @@
+//import 'dart:math' show Point;
Kathy Walrath 2013/11/23 00:46:27 Why have this line in the test?
+
+void main() {
+ print('Hello World!');
+ recalculate(1, 'bob', 3);
+}
+
// Without types.
recalculate(origin, offset, estimate) {
// ...

Powered by Google App Engine
This is Rietveld 408576698