Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Toolchain
inline-svg
Commits
77a1b21a
Commit
77a1b21a
authored
Aug 30, 2018
by
Philipp Nowinski
Browse files
[BUGFIX] remove testing code
parent
9649e035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
index.js
index.js
+0
-12
No files found.
index.js
View file @
77a1b21a
...
...
@@ -150,15 +150,3 @@ module.exports = class InlineSvg {
}
};
(
async
()
=>
{
const
sassTemplate
=
await
new
InlineSvg
(
'
./svgs
'
,
{
interceptor
:
function
(
svgData
)
{
console
.
log
(
svgData
);
return
Object
.
assign
(
svgData
,
{
variableName
:
svgData
.
name
.
toLowerCase
(),
prefix
:
'
dso-icon
'
});
}
});
fs
.
writeFileSync
(
'
./_svg.scss
'
,
sassTemplate
);
})();
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