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

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

Issue 22528003: update examples on homepage (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: tweak Created 7 years, 4 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 | « src/tests/site/code/types_no.dart ('k') | src/tests/site/code/webui/build.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tests/site/code/types_yes.dart
diff --git a/src/tests/site/code/types_yes.dart b/src/tests/site/code/types_yes.dart
new file mode 100644
index 0000000000000000000000000000000000000000..022d31237522d22b13908c404995809c5d06e13b
--- /dev/null
+++ b/src/tests/site/code/types_yes.dart
@@ -0,0 +1,11 @@
+// With types (and an optional parameter).
+num recalculate(Point origin,
+ num offset,
+ {bool estimate:false}) {
+ // ...
+}
+
+class Point {
+ num x;
+ num y;
+}
« no previous file with comments | « src/tests/site/code/types_no.dart ('k') | src/tests/site/code/webui/build.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698