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>
22 lines
529 B
JavaScript
22 lines
529 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.arrayEqual = arrayEqual;
|
|
exports.arrayStartsWith = arrayStartsWith;
|
|
function arrayEqual(a, b) {
|
|
if (a.length !== b.length) {
|
|
return false;
|
|
}
|
|
return arrayStartsWith(a, b);
|
|
}
|
|
function arrayStartsWith(array, start) {
|
|
if (start.length > array.length) {
|
|
return false;
|
|
}
|
|
for (var i = 0; i < start.length; i++) {
|
|
if (start[i] !== array[i]) {
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|