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
1931b7cd
Commit
1931b7cd
authored
Jan 10, 2018
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor for projects-r*
parent
792e9ed7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-2
app/assets/javascripts/pages/projects/releases/index.js
app/assets/javascripts/pages/projects/releases/index.js
+7
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
1931b7cd
...
...
@@ -291,8 +291,9 @@ import Activities from './activities';
.
catch
(
fail
);
break
;
case
'
projects:releases:edit
'
:
new
ZenMode
();
new
GLForm
(
$
(
'
.release-form
'
),
true
);
import
(
'
./pages/projects/releases
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:merge_requests:show
'
:
new
Diff
();
...
...
app/assets/javascripts/pages/projects/releases/index.js
0 → 100644
View file @
1931b7cd
import
ZenMode
from
'
~/zen_mode
'
;
import
GLForm
from
'
~/gl_form
'
;
export
default
function
()
{
new
ZenMode
();
// eslint-disable-line no-new
new
GLForm
(
$
(
'
.release-form
'
),
true
);
// 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