BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
89fd1626
Unverified
Commit
89fd1626
authored
Jan 08, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added import for snippets:show in dispatcher
#41341
parent
7b2f9af4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
dispatcher.js
app/assets/javascripts/dispatcher.js
+1
-4
index.js
app/assets/javascripts/pages/snippets/show/index.js
+12
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
89fd1626
...
...
@@ -548,10 +548,7 @@ import Activities from './activities';
new
UserCallout
();
break
;
case
'snippets:show'
:
new
LineHighlighter
();
new
BlobViewer
();
initNotes
();
new
ZenMode
();
import
(
'./pages/snippets/show'
).
then
(
m
=>
m
.
default
()).
catch
(
fail
);
break
;
case
'import:fogbugz:new_user_map'
:
new
UsersSelect
();
...
...
app/assets/javascripts/pages/snippets/show/index.js
0 → 100644
View file @
89fd1626
/* eslint-disable no-new */
import
LineHighlighter
from
'../../../line_highlighter'
;
import
BlobViewer
from
'../../../blob/viewer'
;
import
ZenMode
from
'../../../zen_mode'
;
import
initNotes
from
'../../../init_notes'
;
export
default
()
=>
{
new
LineHighlighter
();
new
BlobViewer
();
initNotes
();
new
ZenMode
();
};
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