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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
afbb9308
Commit
afbb9308
authored
Feb 20, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate snippets:* to static bundle
parent
11bf575f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
22 deletions
+2
-22
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-20
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
No files found.
app/assets/javascripts/dispatcher.js
View file @
afbb9308
...
...
@@ -80,26 +80,6 @@ var Dispatcher;
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
snippets:new
'
:
import
(
'
./pages/snippets/new
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
snippets:edit
'
:
import
(
'
./pages/snippets/edit
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
snippets:create
'
:
import
(
'
./pages/snippets/new
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
snippets:update
'
:
import
(
'
./pages/snippets/edit
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:releases:edit
'
:
import
(
'
./pages/projects/releases/edit
'
)
.
then
(
callDefault
)
...
...
app/assets/javascripts/pages/snippets/edit/index.js
View file @
afbb9308
import
form
from
'
../form
'
;
export
default
form
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
form
)
;
app/assets/javascripts/pages/snippets/new/index.js
View file @
afbb9308
import
form
from
'
../form
'
;
export
default
form
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
form
)
;
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