We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff7347 commit 0268c3eCopy full SHA for 0268c3e
src/main/resources/META-INF/resources/frontend/code-viewer.ts
@@ -58,20 +58,16 @@ export class CodeViewer extends LitElement {
58
if (this.readyState == 4 && this.status == 200) {
59
self.contents = this.responseText;
60
self.language = language;
61
- // Wait for LitElement to finish updating the DOM before higlighting
+ // Wait for LitElement to finish updating the DOM before higlighting
62
await self.updateComplete;
63
-
+
64
//@ts-ignore
65
Prism.highlightAllUnder(self);
66
}};
67
xhr.open('GET', sourceUrl, true);
68
xhr.send();
69
}
70
71
- hh() {
72
- Prism.highlightAllUnder(this);
73
- }
74
75
escapeHtml(unsafe: string) {
76
return unsafe
77
.replace(/&/g, "&")
0 commit comments