From f118b638ed10bf775fb5430f1b0bdd5de8e3717a Mon Sep 17 00:00:00 2001 From: Greg Spencer Date: Fri, 7 Feb 2020 08:45:57 -0800 Subject: [PATCH] Add channel-specific dartpad URL to snippet generation (#49845) Adds the channel to docs generation for dartpad samples, since the new query parameter was added in dart-lang/dart-pad#1462 --- .../config/skeletons/dartpad-sample.html | 2 +- dev/snippets/lib/main.dart | 11 +++++++++++ dev/snippets/lib/snippets.dart | 12 ++++++++---- dev/snippets/test/snippets_test.dart | 19 +++++++++++-------- 4 files changed, 31 insertions(+), 13 deletions(-) diff --git a/dev/snippets/config/skeletons/dartpad-sample.html b/dev/snippets/config/skeletons/dartpad-sample.html index 1fa16f7d02..d47dffe5d5 100644 --- a/dev/snippets/config/skeletons/dartpad-sample.html +++ b/dev/snippets/config/skeletons/dartpad-sample.html @@ -22,7 +22,7 @@
- +