Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7526ca50
Commit
7526ca50
authored
Jul 29, 2020
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettyprinting the files
parent
e8790305
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/blob/components/blob_edit_content.vue
app/assets/javascripts/blob/components/blob_edit_content.vue
+1
-1
app/assets/javascripts/vue_shared/components/blob_viewers/mixins.js
.../javascripts/vue_shared/components/blob_viewers/mixins.js
+2
-2
No files found.
app/assets/javascripts/blob/components/blob_edit_content.vue
View file @
7526ca50
...
...
@@ -38,7 +38,7 @@ export default {
blobContent
:
this
.
value
,
});
window
.
requestAnimationFrame
(()
=>
{
if
(
!
performance
.
getEntriesByName
(
SNIPPET_MARK_BLOBS_CONTENT
).
length
)
{
if
(
!
performance
.
getEntriesByName
(
SNIPPET_MARK_BLOBS_CONTENT
).
length
)
{
performance
.
mark
(
SNIPPET_MARK_BLOBS_CONTENT
);
performance
.
measure
(
SNIPPET_MEASURE_BLOBS_CONTENT
);
performance
.
measure
(
SNIPPET_MEASURE_BLOBS_CONTENT_WITHIN_APP
,
SNIPPET_MARK_EDIT_APP_START
);
...
...
app/assets/javascripts/vue_shared/components/blob_viewers/mixins.js
View file @
7526ca50
...
...
@@ -18,11 +18,11 @@ export default {
},
mounted
()
{
window
.
requestAnimationFrame
(()
=>
{
if
(
!
performance
.
getEntriesByName
(
SNIPPET_MARK_BLOBS_CONTENT
).
length
)
{
if
(
!
performance
.
getEntriesByName
(
SNIPPET_MARK_BLOBS_CONTENT
).
length
)
{
performance
.
mark
(
SNIPPET_MARK_BLOBS_CONTENT
);
performance
.
measure
(
SNIPPET_MEASURE_BLOBS_CONTENT
);
performance
.
measure
(
SNIPPET_MEASURE_BLOBS_CONTENT_WITHIN_APP
,
SNIPPET_MARK_VIEW_APP_START
);
}
});
}
}
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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