Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit b78ad0f

Browse files
committed
use version 2 of compiler in REPL
1 parent 8aad909 commit b78ad0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/repl/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ <h2 class='show-if-mobile'>data.json5</h2>
248248
return {
249249
examples,
250250

251-
version: query.version || 'latest',
251+
version: query.version || '2',
252252

253253
components: [],
254254
data: {},
@@ -277,7 +277,7 @@ <h2 class='show-if-mobile'>data.json5</h2>
277277

278278
url: ({ version, gist, query, demo }) => {
279279
const params = [];
280-
if (version !== 'latest') params.push(`version=${version}`);
280+
if (version !== '2') params.push(`version=${version}`);
281281
if (gist) params.push(`gist=${gist.id}`);
282282
else if (demo) params.push(`demo=${demo}`);
283283
else if (query.gist) params.push(`gist=${query.gist}`);

0 commit comments

Comments
 (0)