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
a073d48a
Commit
a073d48a
authored
Feb 14, 2020
by
Shubham Pandey
Committed by
Kushal Pandya
Feb 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UPDATE] updated underscore to lodash in spec/javascripts/badges
parent
f46fc221
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/196678-replace-_-with-lodash.yml
changelogs/unreleased/196678-replace-_-with-lodash.yml
+5
-0
spec/javascripts/badges/dummy_badge.js
spec/javascripts/badges/dummy_badge.js
+2
-2
No files found.
changelogs/unreleased/196678-replace-_-with-lodash.yml
0 → 100644
View file @
a073d48a
---
title
:
Replaced underscore with lodash for spec/javascripts/badges
merge_request
:
25135
author
:
Shubham Pandey
type
:
other
spec/javascripts/badges/dummy_badge.js
View file @
a073d48a
import
_
from
'
underscore
'
;
import
{
uniqueId
}
from
'
lodash
'
;
import
{
DUMMY_IMAGE_URL
,
TEST_HOST
}
from
'
spec/test_constants
'
;
import
{
DUMMY_IMAGE_URL
,
TEST_HOST
}
from
'
spec/test_constants
'
;
import
{
PROJECT_BADGE
}
from
'
~/badges/constants
'
;
import
{
PROJECT_BADGE
}
from
'
~/badges/constants
'
;
export
const
createDummyBadge
=
()
=>
{
export
const
createDummyBadge
=
()
=>
{
const
id
=
_
.
uniqueId
();
const
id
=
uniqueId
();
return
{
return
{
id
,
id
,
name
:
'
TestBadge
'
,
name
:
'
TestBadge
'
,
...
...
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