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
Léo-Paul Géneau
gitlab-ce
Commits
c0fdcb9b
Commit
c0fdcb9b
authored
Jan 11, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code improvements
parent
80eb68e0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-1
app/assets/javascripts/pages/snippets/create/index.js
app/assets/javascripts/pages/snippets/create/index.js
+1
-1
app/assets/javascripts/pages/snippets/edit/index.js
app/assets/javascripts/pages/snippets/edit/index.js
+1
-1
app/assets/javascripts/pages/snippets/new/index.js
app/assets/javascripts/pages/snippets/new/index.js
+1
-1
app/assets/javascripts/pages/snippets/update/index.js
app/assets/javascripts/pages/snippets/update/index.js
+1
-1
No files found.
app/assets/javascripts/dispatcher.js
View file @
c0fdcb9b
...
...
@@ -575,7 +575,9 @@ import Activities from './activities';
import
(
'
./pages/admin/conversational_development_index/show
'
).
then
(
m
=>
m
.
default
()).
catch
(
fail
);
break
;
case
'
snippets:show
'
:
import
(
'
./pages/snippets/show
'
).
then
(
callDefault
).
catch
(
fail
);
import
(
'
./pages/snippets/show
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
import:fogbugz:new_user_map
'
:
import
(
'
./pages/import/fogbugz/new_user_map
'
).
then
(
m
=>
m
.
default
()).
catch
(
fail
);
...
...
app/assets/javascripts/pages/snippets/create/index.js
View file @
c0fdcb9b
import
GLForm
from
'
~/gl_form
'
;
import
ZenMode
from
'
~/zen_mode
'
;
export
default
function
()
{
export
default
()
=>
{
new
GLForm
(
$
(
'
.snippet-form
'
),
false
);
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
}
app/assets/javascripts/pages/snippets/edit/index.js
View file @
c0fdcb9b
import
GLForm
from
'
~/gl_form
'
;
import
ZenMode
from
'
~/zen_mode
'
;
export
default
function
()
{
export
default
()
=>
{
new
GLForm
(
$
(
'
.snippet-form
'
),
false
);
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
}
app/assets/javascripts/pages/snippets/new/index.js
View file @
c0fdcb9b
import
GLForm
from
'
~/gl_form
'
;
import
ZenMode
from
'
~/zen_mode
'
;
export
default
function
()
{
export
default
()
=>
{
new
GLForm
(
$
(
'
.snippet-form
'
),
false
);
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
}
app/assets/javascripts/pages/snippets/update/index.js
View file @
c0fdcb9b
import
GLForm
from
'
~/gl_form
'
;
import
ZenMode
from
'
~/zen_mode
'
;
export
default
function
()
{
export
default
()
=>
{
new
GLForm
(
$
(
'
.snippet-form
'
),
false
);
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
}
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