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
8ad4881d
Commit
8ad4881d
authored
Jan 18, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint
parent
c0dfd967
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
16 deletions
+4
-16
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+1
-3
app/assets/javascripts/pages/projects/show/index.js
app/assets/javascripts/pages/projects/show/index.js
+1
-1
app/assets/javascripts/pages/projects/snippets/create/index.js
...ssets/javascripts/pages/projects/snippets/create/index.js
+0
-3
app/assets/javascripts/pages/projects/snippets/new/index.js
app/assets/javascripts/pages/projects/snippets/new/index.js
+2
-6
app/assets/javascripts/pages/projects/snippets/update/index.js
...ssets/javascripts/pages/projects/snippets/update/index.js
+0
-3
No files found.
app/assets/javascripts/dispatcher.js
View file @
8ad4881d
...
...
@@ -25,14 +25,12 @@ import BlobViewer from './blob/viewer/index';
import
UsersSelect
from
'
./users_select
'
;
import
GfmAutoComplete
from
'
./gfm_auto_complete
'
;
import
Star
from
'
./star
'
;
import
TreeView
from
'
./tree
'
;
import
ZenMode
from
'
./zen_mode
'
;
import
initSettingsPanels
from
'
./settings_panels
'
;
import
PerformanceBar
from
'
./performance_bar
'
;
import
initNotes
from
'
./init_notes
'
;
import
initIssuableSidebar
from
'
./init_issuable_sidebar
'
;
import
NewGroupChild
from
'
./groups/new_group_child
'
;
import
{
ajaxGet
,
convertPermissionToBoolean
}
from
'
./lib/utils/common_utils
'
;
import
{
convertPermissionToBoolean
}
from
'
./lib/utils/common_utils
'
;
import
GlFieldErrors
from
'
./gl_field_errors
'
;
import
GLForm
from
'
./gl_form
'
;
import
Shortcuts
from
'
./shortcuts
'
;
...
...
app/assets/javascripts/pages/projects/show/index.js
View file @
8ad4881d
...
...
@@ -20,4 +20,4 @@ export default () => {
$
(
'
#tree-slider
'
).
waitForImages
(()
=>
{
ajaxGet
(
document
.
querySelector
(
'
.js-tree-content
'
).
dataset
.
logsPath
);
});
}
}
;
app/assets/javascripts/pages/projects/snippets/create/index.js
deleted
100644 → 0
View file @
c0dfd967
import
initForm
from
'
~/pages/projects/init_form
'
;
export
default
initForm
(
$
(
'
.snippet-form
'
));
app/assets/javascripts/pages/projects/snippets/new/index.js
View file @
8ad4881d
import
GLForm
from
'
~/gl_form
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
initForm
from
'
~/pages/projects/init_form
'
;
export
default
function
()
{
new
GLForm
(
$
(
'
.snippet-form
'
),
true
);
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
}
export
default
initForm
(
$
(
'
.snippet-form
'
));
app/assets/javascripts/pages/projects/snippets/update/index.js
deleted
100644 → 0
View file @
c0dfd967
import
initSnippets
from
'
~/pages/projects/snippets/init_snippets
'
;
export
default
initSnippets
;
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