diff --git a/public/index.html b/public/index.html index 6bd7a23..e3ee2be 100644 --- a/public/index.html +++ b/public/index.html @@ -67,8 +67,8 @@ const response = await fetch(window.location.href); const text = await response.text(); - const tokens = tokenize(normalizeNewlines(text)); - const spans = highlight(tokens); + window.tokens = tokenize(normalizeNewlines(text)); + window.spans = highlight(tokens); const inspector = new Inspector();