Skip to content

Commit

Permalink
Clean up; set ecmaVersion to permit top level await
Browse files Browse the repository at this point in the history
  • Loading branch information
colepeters committed May 2, 2024
1 parent fee4996 commit 45d70b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": "2022",
"sourceType": "module"
},
"extends": "@architect/eslint-config",
Expand Down
14 changes: 4 additions & 10 deletions src/landing/elements/manifest-examples.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { cloudFormation: helloWorldCf, arc: helloWorldArc } = await renderHelloWo
const { cloudFormation: arcCodesCf, arc: arcCodesArc } = await renderArcCodes()
const { cloudFormation: kitchenSinkCf, arc: kitchenSinkArc } = await renderKitchenSink()

export default function CloudFormation({ html }) {
export default function CloudFormation ({ html }) {
return html`
<style>
label {
Expand All @@ -14,16 +14,10 @@ export default function CloudFormation({ html }) {
cursor: pointer;
}
form:has([value="hello-world"]:checked) ~ #hello-world {
display: grid !important;
}
form:has([value="arc-codes"]:checked) ~ #arc-codes {
display: grid !important;
}
form:has([value="hello-world"]:checked) ~ #hello-world,
form:has([value="arc-codes"]:checked) ~ #arc-codes,
form:has([value="kitchen-sink"]:checked) ~ #kitchen-sink {
display: grid !important;
display: grid;
}
pre {
Expand Down

0 comments on commit 45d70b6

Please sign in to comment.