Skip to content

Commit 09eb7bd

Browse files
authored
Fix: update messages (#8)
* fix: update message * chore: run formattor
1 parent 3551966 commit 09eb7bd

File tree

5 files changed

+6
-24
lines changed

5 files changed

+6
-24
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
VITE_TEST262_RAW_URL = "https://raw.githubusercontent.com/tc39/test262/823f4cfd2004cf410bc0344304e22e12d243e955/test/"
22
VITE_TEST262_URL = "https://github.com/tc39/test262/blob/823f4cfd2004cf410bc0344304e22e12d243e955/test/"
3+
VITE_TEST262_MESSAGE="ECMA Visualizer currently only supports ECMA-262 2025 (15th Edition). The current page's URL doesn’t seem to be supported."
34
VITE_DOUBLE_DEBUGGER_URL = "https://es-meta.github.io/playground"
45
VITE_RESOURCE_URL = "https://raw.githubusercontent.com/es-meta/ecma-visualizer-resources/refs/heads/main/"
56
VITE_ESMETA_URL = "https://es-meta.github.io/"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ And follow the instructions below to install the visualizer extension:
2525
2. Turn on the Developer mode on the top right corner.
2626
3. Click the Load unpacked button and select the `ecma-visualizer/.output/chrome-mv3` directory.
2727

28-
The chrome extension currently works on ES2024 web page: https://tc39.es/ecma262/2024/.
28+
The chrome extension currently works on ES2025 web page: https://tc39.es/ecma262/2025/.
2929

3030
## Other Browsers
3131

package-lock.json

Lines changed: 2 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ecma-visualizer",
33
"private": true,
4-
"version": "1.3.0",
4+
"version": "1.3.1",
55
"type": "module",
66
"scripts": {
77
"dev": "wxt",

src/entrypoints/sidepanel/features/notify.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ export function NotifyStrip() {
2626
<aside className="flex h-8 w-full bg-amber-200 dark:bg-amber-800">
2727
<button
2828
className="flex size-full flex-row items-center justify-center text-sm"
29-
onClick={() =>
30-
alert(
31-
"ECMA Visualizer currently only supports ECMA-262 2024 (14th Edition). The current page's URL doesn’t seem to be supported.",
32-
)
33-
}
29+
onClick={() => alert(import.meta.env.VITE_TEST262_MESSAGE)}
3430
>
3531
⚠️ Current tab is not supported
3632
</button>

0 commit comments

Comments
 (0)