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
d2ccb045
Commit
d2ccb045
authored
Mar 25, 2020
by
sstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace underscore with lodash
parent
94308390
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
ee/app/assets/javascripts/licenses/components/cells/cell.vue
ee/app/assets/javascripts/licenses/components/cells/cell.vue
+2
-2
ee/app/assets/javascripts/onboarding/onboarding_helper/components/app.vue
...vascripts/onboarding/onboarding_helper/components/app.vue
+3
-4
No files found.
ee/app/assets/javascripts/licenses/components/cells/cell.vue
View file @
d2ccb045
<
script
>
import
_
from
'
underscore
'
;
import
{
isNumber
}
from
'
lodash
'
;
export
default
{
// name: 'Cell' is a false positive: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/25
...
...
@@ -24,7 +24,7 @@ export default {
},
computed
:
{
valueClass
()
{
return
{
number
:
_
.
isNumber
(
this
.
value
)
};
return
{
number
:
isNumber
(
this
.
value
)
};
},
flexClass
()
{
return
{
'
flex-grow-1
'
:
this
.
isFlexible
};
...
...
ee/app/assets/javascripts/onboarding/onboarding_helper/components/app.vue
View file @
d2ccb045
<
script
>
import
_
from
'
underscore
'
;
import
{
mapState
,
mapActions
,
mapGetters
}
from
'
vuex
'
;
import
{
redirectTo
}
from
'
~/lib/utils/url_utility
'
;
import
Tracking
from
'
~/tracking
'
;
...
...
@@ -111,7 +110,7 @@ export default {
const
{
selector
,
text
,
placement
}
=
this
.
actionPopover
;
// immediately show the action popover if there's not helpContent for this step
const
showPopover
=
!
this
.
helpContent
&&
!
_
.
isUndefined
(
selector
)
;
const
showPopover
=
!
this
.
helpContent
&&
selector
!==
undefined
;
actionPopoverUtils
.
renderPopover
(
selector
,
text
,
placement
,
showPopover
);
}
...
...
@@ -161,7 +160,7 @@ export default {
}
// dismiss popover if necessary
if
(
_
.
isUndefined
(
dismissPopover
)
||
dismissPopover
===
true
)
{
if
(
dismissPopover
===
undefined
||
dismissPopover
===
true
)
{
this
.
dismissPopover
=
true
;
}
...
...
@@ -172,7 +171,7 @@ export default {
}
// switch to the next tour part
if
(
!
_
.
isUndefined
(
nextPart
)
)
{
if
(
nextPart
!==
undefined
)
{
this
.
switchTourPart
(
nextPart
);
this
.
initActionPopover
();
return
;
...
...
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