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
2d94e2c9
Commit
2d94e2c9
authored
Sep 11, 2019
by
Illya Klymov
Committed by
Mike Greiling
Sep 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing `render_gfm` import to files
parent
c256adb7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/blob/viewer/index.js
app/assets/javascripts/blob/viewer/index.js
+1
-2
app/assets/javascripts/notes/components/note_body.vue
app/assets/javascripts/notes/components/note_body.vue
+1
-0
app/assets/javascripts/vue_shared/components/markdown/field.vue
...sets/javascripts/vue_shared/components/markdown/field.vue
+1
-0
No files found.
app/assets/javascripts/blob/viewer/index.js
View file @
2d94e2c9
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
Flash
from
'
../../flash
'
;
import
{
handleLocationHash
}
from
'
../../lib/utils/common_utils
'
;
import
axios
from
'
../../lib/utils/axios_utils
'
;
...
...
@@ -105,7 +106,6 @@ export default class BlobViewer {
toggleCopyButtonState
()
{
if
(
!
this
.
copySourceBtn
)
return
;
if
(
this
.
simpleViewer
.
getAttribute
(
'
data-loaded
'
))
{
this
.
copySourceBtn
.
setAttribute
(
'
title
'
,
__
(
'
Copy source to clipboard
'
));
this
.
copySourceBtn
.
classList
.
remove
(
'
disabled
'
);
...
...
@@ -152,7 +152,6 @@ export default class BlobViewer {
this
.
activeViewer
=
newViewer
;
this
.
toggleCopyButtonState
();
BlobViewer
.
loadViewer
(
newViewer
)
.
then
(
viewer
=>
{
$
(
viewer
).
renderGFM
();
...
...
app/assets/javascripts/notes/components/note_body.vue
View file @
2d94e2c9
<
script
>
import
{
mapActions
}
from
'
vuex
'
;
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
getDiscussion
from
'
ee_else_ce/notes/mixins/get_discussion
'
;
import
noteEditedText
from
'
./note_edited_text.vue
'
;
import
noteAwardsList
from
'
./note_awards_list.vue
'
;
...
...
app/assets/javascripts/vue_shared/components/markdown/field.vue
View file @
2d94e2c9
<
script
>
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
_
from
'
underscore
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
stripHtml
}
from
'
~/lib/utils/text_utility
'
;
...
...
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