Skip to content

Commit

Permalink
fix: revert to esbuild-wasm@0.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Oct 31, 2023
1 parent 19cc931 commit 70c3260
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"echarts": "^5.4.3",
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"esbuild-wasm": "^0.19.5",
"esbuild-wasm": "^0.19.2",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-vue": "^8.7.1",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions src/demo/CodeGen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,42 @@ onMounted(async () => {
initializing.value = false;
optionCode.value = `{
title: {
text: 'Referer of a Website',
subtext: 'Fake Data',
left: 'center'
},
tooltip: {
trigger: 'item'
},
legend: {
orient: 'vertical',
left: 'left'
},
series: [
{
name: 'Access From',
type: 'pie',
radius: '50%',
data: [
{ value: 1048, name: 'Search Engine' },
{ value: 735, name: 'Direct' },
{ value: 580, name: 'Email' },
{ value: 484, name: 'Union Ads' },
{ value: 300, name: 'Video Ads' }
],
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}
]
}`;
await nextTick();
source.value?.focus();
Expand Down Expand Up @@ -238,6 +274,7 @@ onBeforeUnmount(() => {
"
:disabled="initializing"
autofocus
spellcheck="false"
></textarea>
<div class="import-code" @copy="trackCopy('system')">
<code-highlight
Expand Down

1 comment on commit 70c3260

@vercel
Copy link

@vercel vercel bot commented on 70c3260 Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.