Skip to content

Commit 0268c3e

Browse files
javier-godoymlopezFC
authored andcommitted
chore: remove unused method
1 parent 7ff7347 commit 0268c3e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main/resources/META-INF/resources/frontend/code-viewer.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,16 @@ export class CodeViewer extends LitElement {
5858
if (this.readyState == 4 && this.status == 200) {
5959
self.contents = this.responseText;
6060
self.language = language;
61-
// Wait for LitElement to finish updating the DOM before higlighting
61+
// Wait for LitElement to finish updating the DOM before higlighting
6262
await self.updateComplete;
63-
63+
6464
//@ts-ignore
6565
Prism.highlightAllUnder(self);
6666
}};
6767
xhr.open('GET', sourceUrl, true);
6868
xhr.send();
6969
}
7070

71-
hh() {
72-
Prism.highlightAllUnder(this);
73-
}
74-
7571
escapeHtml(unsafe: string) {
7672
return unsafe
7773
.replace(/&/g, "&")

0 commit comments

Comments
 (0)