Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
5c74208e
Commit
5c74208e
authored
Aug 24, 2021
by
dindigala
Browse files
refactor: adding a comment to function
parent
b263c29c
Pipeline
#223296
passed with stages
in 4 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/content.vue
View file @
5c74208e
...
...
@@ -178,6 +178,8 @@ export default {
}
this
.
content
=
dom
.
documentElement
.
innerHTML
;
// to improve performance, here we are trying to get candidates of annotation that are
// possibly be the annotation and try to match them with their respective annotations.
const
displayedAnnotations
=
[
...
dom
.
querySelectorAll
(
'
[data-annotation]
'
),
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment