Skip to content

Commit f913183

Browse files
johnpryanlegalcodes
authored andcommitted
update all embeds to non-experimental, unforked versions (#3269)
* update all embeds to non-experimental, unforked versions * switch dartpad_picker back to dartpad.dev * add jr staging to .firebaserc
1 parent f20bcf1 commit f913183

File tree

7 files changed

+775
-756
lines changed

7 files changed

+775
-756
lines changed

.firebaserc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"ft": "flutter-web-staging",
1414
"filip": "flutter-website-filiph-staging",
1515
"brianegan": "brianegan-flutter-staging",
16-
"xster-staging": "flutter-website-staging-6f2ad"
16+
"xster-staging": "flutter-website-staging-6f2ad",
17+
"jr": "flutter-website-jr-staging"
1718
}
18-
}
19+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ A typical DartPad example takes the form of an `iframe`, e.g. within a codelab's
120120
121121
```markdown
122122
<iframe
123-
src="{{site.custom.dartpadx.embed-flutter-prefix}}?id=d7b09149ffee2f0535bb0c04d96987f5"
123+
src="{{site.custom.dartpad.embed-flutter-prefix}}?id=d7b09149ffee2f0535bb0c04d96987f5"
124124
style="border: 1px solid lightgrey; margin-top: 10px; margin-bottom: 25px"
125125
frameborder="no" height="500" width="100%"
126126
></iframe>

_config.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,9 @@ alert:
122122
custom:
123123
dartpad:
124124
embed-dart-prefix: https://dartpad.dev/embed-dart.html
125+
embed-flutter-prefix: https://dartpad.dev/embed-flutter.html
125126
embed-html-prefix: https://dartpad.dev/embed-html.html
126127
embed-inline-prefix: https://dartpad.dev/embed-inline.html
127-
dartpadx:
128-
embed-dart-prefix: https://dartpad.dev/experimental/embed-new-dart.html
129-
embed-flutter-prefix: https://unforked-dot-dart-pad.appspot.com/embed-flutter.html
130-
embed-flutter-prefix-old: https://dartpad.dev/embed-flutter.html
131-
embed-html-prefix: https://dartpad.dev/experimental/embed-new-html.html
132-
embed-inline-prefix: https://dartpad.dev/experimental/embed-new-inline.html
133128

134129
# callout_danger: '<div class="bs-callout bs-callout-danger">'
135130
# callout_default: '<div class="bs-callout bs-callout-default">'

src/_packages/dartpad_picker/lib/dartpad_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DartPadPicker {
2020
int _selected = 0;
2121

2222
DartPadPicker(this.iFrameHost, this.selectElement, this.snippets,
23-
{this.dartPadUrl = 'https://unforked-dot-dart-pad.appspot.com/'}) {
23+
{this.dartPadUrl = 'https://dartpad.dev/'}) {
2424
_initSelectElement();
2525
_initDartPad();
2626
}

0 commit comments

Comments
 (0)