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
8baef6d2
Commit
8baef6d2
authored
Mar 02, 2022
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update spinner in single_file_diff to be pajamas compliant
No user facing changes
parent
d58c9b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/single_file_diff.js
app/assets/javascripts/single_file_diff.js
+2
-1
No files found.
app/assets/javascripts/single_file_diff.js
View file @
8baef6d2
/* eslint-disable consistent-return */
import
$
from
'
jquery
'
;
import
{
loadingIconForLegacyJS
}
from
'
~/loading_icon_for_legacy_js
'
;
import
{
spriteIcon
}
from
'
~/lib/utils/common_utils
'
;
import
FilesCommentButton
from
'
./files_comment_button
'
;
import
createFlash
from
'
./flash
'
;
...
...
@@ -10,7 +11,7 @@ import { __ } from './locale';
import
syntaxHighlight
from
'
./syntax_highlight
'
;
const
WRAPPER
=
'
<div class="diff-content"></div>
'
;
const
LOADING_HTML
=
'
<span class="spinner"></span>
'
;
const
LOADING_HTML
=
loadingIconForLegacyJS
().
outerHTML
;
const
ERROR_HTML
=
`<div class="nothing-here-block">
${
spriteIcon
(
'
warning-solid
'
,
'
s16
'
,
...
...
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