Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
14
network-poc/frontend/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js
generated
vendored
Normal file
14
network-poc/frontend/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
(function () {
|
||||
|
||||
if (typeof Prism === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
Prism.hooks.add('wrap', function (env) {
|
||||
if (env.type !== 'keyword') {
|
||||
return;
|
||||
}
|
||||
env.classes.push('keyword-' + env.content);
|
||||
});
|
||||
|
||||
}());
|
||||
1
network-poc/frontend/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js
generated
vendored
Normal file
1
network-poc/frontend/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"undefined"!=typeof Prism&&Prism.hooks.add("wrap",(function(e){"keyword"===e.type&&e.classes.push("keyword-"+e.content)}));
|
||||
Reference in New Issue
Block a user