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
122bbf21
Commit
122bbf21
authored
Feb 21, 2020
by
sstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace underscore with lodash in ./sidebar
parent
89431973
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/sidebar/components/time_tracking/sidebar_time_tracking.vue
...idebar/components/time_tracking/sidebar_time_tracking.vue
+2
-2
app/assets/javascripts/sidebar/lib/sidebar_move_issue.js
app/assets/javascripts/sidebar/lib/sidebar_move_issue.js
+2
-2
No files found.
app/assets/javascripts/sidebar/components/time_tracking/sidebar_time_tracking.vue
View file @
122bbf21
<
script
>
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
{
intersection
}
from
'
lodash
'
;
import
'
~/smart_interval
'
;
...
...
@@ -38,7 +38,7 @@ export default {
}
else
{
changedCommands
=
[];
}
if
(
changedCommands
&&
_
.
intersection
(
subscribedCommands
,
changedCommands
).
length
)
{
if
(
changedCommands
&&
intersection
(
subscribedCommands
,
changedCommands
).
length
)
{
this
.
mediator
.
fetch
();
}
},
...
...
app/assets/javascripts/sidebar/lib/sidebar_move_issue.js
View file @
122bbf21
import
$
from
'
jquery
'
;
import
'
~/gl_dropdown
'
;
import
_
from
'
underscore
'
;
import
{
escape
as
esc
}
from
'
lodash
'
;
import
{
__
}
from
'
~/locale
'
;
function
isValidProjectId
(
id
)
{
...
...
@@ -49,7 +49,7 @@ class SidebarMoveIssue {
renderRow
:
project
=>
`
<li>
<a href="#" class="js-move-issue-dropdown-item">
${
_
.
escape
(
project
.
name_with_namespace
)}
${
esc
(
project
.
name_with_namespace
)}
</a>
</li>
`
,
...
...
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