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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7114faf1
Commit
7114faf1
authored
Jan 09, 2018
by
Jacob Schatz
Committed by
Phil Hughes
Jan 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove preview_markdown from the global obj
parent
1086983d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
182 additions
and
184 deletions
+182
-184
app/assets/javascripts/behaviors/index.js
app/assets/javascripts/behaviors/index.js
+1
-0
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+0
-1
app/assets/javascripts/preview_markdown.js
app/assets/javascripts/preview_markdown.js
+181
-183
No files found.
app/assets/javascripts/behaviors/index.js
View file @
7114faf1
...
...
@@ -7,6 +7,7 @@ import installGlEmojiElement from './gl_emoji';
import
'
./quick_submit
'
;
import
'
./requires_input
'
;
import
'
./toggler_behavior
'
;
import
'
../preview_markdown
'
;
installGlEmojiElement
();
initCopyAsGFM
();
...
...
app/assets/javascripts/main.js
View file @
7114faf1
...
...
@@ -46,7 +46,6 @@ import LazyLoader from './lazy_loader';
import
'
./line_highlighter
'
;
import
initLogoAnimation
from
'
./logo
'
;
import
'
./milestone_select
'
;
import
'
./preview_markdown
'
;
import
'
./projects_dropdown
'
;
import
'
./render_gfm
'
;
import
initBreadcrumbs
from
'
./breadcrumb
'
;
...
...
app/assets/javascripts/preview_markdown.js
View file @
7114faf1
This diff is collapsed.
Click to expand it.
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