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
313e7058
Commit
313e7058
authored
May 01, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint
parent
729562dd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
app/assets/javascripts/blob/template_selectors/template_selector.js
.../javascripts/blob/template_selectors/template_selector.js
+1
-1
app/assets/javascripts/members.js
app/assets/javascripts/members.js
+0
-1
app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js
...ts/protected_branches/protected_branch_access_dropdown.js
+3
-3
No files found.
app/assets/javascripts/blob/template_selectors/template_selector.js
View file @
313e7058
...
...
@@ -24,7 +24,7 @@ export default class TemplateSelector {
search
:
{
fields
:
[
'
name
'
],
},
clicked
:
(
options
)
=>
this
.
fetchFileTemplate
(
options
),
clicked
:
options
=>
this
.
fetchFileTemplate
(
options
),
text
:
item
=>
item
.
name
,
});
}
...
...
app/assets/javascripts/members.js
View file @
313e7058
...
...
@@ -44,7 +44,6 @@
return
$el
.
text
();
},
clicked
:
(
options
)
=>
{
const
selected
=
options
.
selectedObj
;
const
$link
=
options
.
$el
;
if
(
!
$link
.
data
(
'
revert
'
))
{
...
...
app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js
View file @
313e7058
...
...
@@ -53,9 +53,9 @@
onHide
();
}
},
clicked
(
opt
ion
s
)
{
const
{
$el
,
e
}
=
opt
ion
s
;
const
item
=
opt
ion
s
.
selectedObj
;
clicked
(
opts
)
{
const
{
$el
,
e
}
=
opts
;
const
item
=
opts
.
selectedObj
;
e
.
preventDefault
();
...
...
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