Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Commits
f52ac7d8
Commit
f52ac7d8
authored
2 years ago
by
Steinwender, Tamara
Browse files
Options
Downloads
Patches
Plain Diff
Remove comments
parent
4c483174
Branches
icon-set-mapping
No related tags found
No related merge requests found
Pipeline
#188588
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/common/src/icon.js
+0
-2
0 additions, 2 deletions
packages/common/src/icon.js
with
0 additions
and
2 deletions
packages/common/src/icon.js
+
0
−
2
View file @
f52ac7d8
...
...
@@ -4,7 +4,6 @@ import {name as pkgName} from './../package.json';
import
nameMapping
from
'
./icon_mapping.json
'
;
export
function
getIconSVGURL
(
name
,
iconSet
)
{
console
.
log
(
"
+++++++++++
"
,
name
,
iconSet
);
if
(
iconSet
!==
''
&&
iconSet
!==
undefined
)
{
return
commonUtils
.
getAssetURL
(
pkgName
,
'
icons_
'
+
encodeURI
(
iconSet
)
+
'
/
'
+
encodeURI
(
name
)
+
'
.svg
'
);
}
...
...
@@ -14,7 +13,6 @@ export function getIconSVGURL(name, iconSet) {
export
function
mapName
(
name
)
{
let
mappedPath
=
nameMapping
[
name
];
console
.
log
(
"
---------------------
"
,
mappedPath
);
if
(
mappedPath
!==
undefined
&&
mappedPath
!==
''
)
{
return
mappedPath
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment