UNPKG
ldrs
Version:
latest (1.1.7)
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.2
Tiny HTML and SVG loaders as web components
uiball.com/ldrs
GriffinJohnston/ldrs
ldrs
/
dist
/
scaleD-CuhdI9fg.js
3 lines
(2 loc)
•
253 B
JavaScript
View Raw
1
2
3
function
t
(
t,r
){
return
r.
replace
(
/([-A-y])/g
,
",$1"
).
split
(
","
).
filter
((
t
=>
""
!==t)).
map
((
r
=>
{
const
e=r.
match
(
/(\d+\.?\d*)/g
)?.[
0
],a=
parseFloat
(e)*t;
return
r.
replace
(e,a.
toString
())})).
join
(
" "
)}
export
{t
as
s};
//# sourceMappingURL=scaleD-CuhdI9fg.js.map