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
1010005d
Commit
1010005d
authored
Dec 17, 2016
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint offenses
parent
c9dff064
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
12 deletions
+15
-12
app/assets/javascripts/boards/services/board_service.js.es6
app/assets/javascripts/boards/services/board_service.js.es6
+1
-1
app/assets/javascripts/dispatcher.js.es6
app/assets/javascripts/dispatcher.js.es6
+2
-0
app/assets/javascripts/issuable_form.js
app/assets/javascripts/issuable_form.js
+1
-0
app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js.es6
...rotected_branches/protected_branch_access_dropdown.js.es6
+9
-9
app/assets/javascripts/protected_branches/protected_branch_create.js.es6
...scripts/protected_branches/protected_branch_create.js.es6
+2
-2
No files found.
app/assets/javascripts/boards/services/board_service.js.es6
View file @
1010005d
/* eslint-disable space-before-function-paren, comma-dangle, no-param-reassign, camelcase, prefer-const, no-extra-semi, max-len, no-unused-vars */
/* eslint-disable space-before-function-paren, comma-dangle, no-param-reassign, camelcase, prefer-const, no-extra-semi, max-len, no-unused-vars
, no-else-return
*/
/* global Vue */
class BoardService {
...
...
app/assets/javascripts/dispatcher.js.es6
View file @
1010005d
...
...
@@ -36,6 +36,8 @@
/* global ProjectShow */
/* global Labels */
/* global Shortcuts */
/* global WeightSelect */
/* global AdminEmailSelect */
(function() {
var Dispatcher;
...
...
app/assets/javascripts/issuable_form.js
View file @
1010005d
...
...
@@ -3,6 +3,7 @@
/* global UsersSelect */
/* global ZenMode */
/* global Autosave */
/* global GroupsSelect */
(
function
()
{
var
bind
=
function
(
fn
,
me
){
return
function
(){
return
fn
.
apply
(
me
,
arguments
);
};
};
...
...
app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js.es6
View file @
1010005d
/* eslint-disable
arrow-parens, no-param-reassign, no-irregular-whitespace, object-shorthand, no-else-return, comma-dangle, semi, padded-blocks, max-len
*/
/* eslint-disable */
(global => {
global.gl = global.gl || {};
...
...
@@ -154,7 +154,7 @@
addSelectedItem(selectedItem) {
var itemToAdd = {};
// If the item already exists, just use it
// If the item already exists, just use it
let index = -1;
let selectedItems = this.getAllSelectedItems();
...
...
@@ -286,17 +286,17 @@
let selectedItems = this.getSelectedItems();
// ID property is handled differently locally from the server
//
//
// For Groups
// In dropdown: `id`
// In dropdown: `id`
// For submit: `group_id`
//
//
// For Roles
// In dropdown: `id`
// In dropdown: `id`
// For submit: `access_level`
//
//
// For Users
// In dropdown: `id`
// In dropdown: `id`
// For submit: `user_id`
/*
...
...
@@ -323,7 +323,7 @@
if (current.type !== LEVEL_TYPES.USER) { continue; }
// Collect selected users
// Collect selected users
selectedUsers.push({
id: current.user_id,
name: current.name,
...
...
app/assets/javascripts/protected_branches/protected_branch_create.js.es6
View file @
1010005d
/* eslint-disable
no-new, arrow-parens, no-param-reassign, no-irregular-whitespace, comma-dangle, padded-blocks, semi, max-len
*/
/* eslint-disable */
/* global ProtectedBranchDropdown */
(global => {
...
...
@@ -96,7 +96,7 @@
}
}
formData.protected_branch[`${ACCESS_LEVELS[ACCESS_LEVEL]}_attributes`] = levelAttributes;
formData.protected_branch[`${ACCESS_LEVELS[ACCESS_LEVEL]}_attributes`] = levelAttributes;
}
return formData;
...
...
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