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
dc2b81c8
Commit
dc2b81c8
authored
Sep 13, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move preview_markdown.js to behaviors
parent
c7afb8f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/behaviors/index.js
app/assets/javascripts/behaviors/index.js
+1
-1
app/assets/javascripts/behaviors/preview_markdown.js
app/assets/javascripts/behaviors/preview_markdown.js
+0
-0
app/assets/javascripts/dropzone_input.js
app/assets/javascripts/dropzone_input.js
+1
-1
No files found.
app/assets/javascripts/behaviors/index.js
View file @
dc2b81c8
...
@@ -8,7 +8,7 @@ import installGlEmojiElement from './gl_emoji';
...
@@ -8,7 +8,7 @@ import installGlEmojiElement from './gl_emoji';
import
'
./quick_submit
'
;
import
'
./quick_submit
'
;
import
'
./requires_input
'
;
import
'
./requires_input
'
;
import
'
./toggler_behavior
'
;
import
'
./toggler_behavior
'
;
import
'
.
.
/preview_markdown
'
;
import
'
./preview_markdown
'
;
installGlEmojiElement
();
installGlEmojiElement
();
initCopyAsGFM
();
initCopyAsGFM
();
...
...
app/assets/javascripts/preview_markdown.js
→
app/assets/javascripts/
behaviors/
preview_markdown.js
View file @
dc2b81c8
File moved
app/assets/javascripts/dropzone_input.js
View file @
dc2b81c8
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Dropzone
from
'
dropzone
'
;
import
Dropzone
from
'
dropzone
'
;
import
_
from
'
underscore
'
;
import
_
from
'
underscore
'
;
import
'
./preview_markdown
'
;
import
'
./
behaviors/
preview_markdown
'
;
import
csrf
from
'
./lib/utils/csrf
'
;
import
csrf
from
'
./lib/utils/csrf
'
;
import
axios
from
'
./lib/utils/axios_utils
'
;
import
axios
from
'
./lib/utils/axios_utils
'
;
...
...
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