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
a0dc3923
Commit
a0dc3923
authored
Sep 05, 2018
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Linting Error
parent
aaca5ff7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+0
-1
spec/javascripts/diffs/store/mutations_spec.js
spec/javascripts/diffs/store/mutations_spec.js
+0
-1
No files found.
app/assets/javascripts/notes.js
View file @
a0dc3923
...
...
@@ -47,7 +47,6 @@ const REGEX_QUICK_ACTIONS = /^\/\w+.*$/gm;
export
default
class
Notes
{
static
initialize
(
notes_url
,
note_ids
,
last_fetched_at
,
view
,
enableGFM
)
{
alert
(
'
LALA
'
);
if
(
!
this
.
instance
)
{
this
.
instance
=
new
Notes
(
notes_url
,
note_ids
,
last_fetched_at
,
view
,
enableGFM
);
}
...
...
spec/javascripts/diffs/store/mutations_spec.js
View file @
a0dc3923
...
...
@@ -138,7 +138,6 @@ describe('DiffsStoreMutations', () => {
const
fileHash
=
123
;
const
state
=
{
diffFiles
:
[{},
{
fileHash
,
existingField
:
0
}]
};
const
file
=
{
fileHash
};
const
data
=
{
diff_files
:
[{
file_hash
:
fileHash
,
extra_field
:
1
,
existingField
:
1
}]
};
mutations
[
types
.
ADD_COLLAPSED_DIFFS
](
state
,
{
file
:
state
.
diffFiles
[
1
],
data
});
...
...
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