You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, the Math.round is probably not even needed, added it there just as a precaution. Method was taken and adapted from grunticon (https://github.com/filamentgroup/grunticon/blob/master/lib/img-stats.js). They are not using any Math/parseInt calls there. The "px" part is also removed @ L80/81.
I think I'll just remove this. Thnx for spotting this!
Hello, there is just a small issue with image demensions. If
width
andheight
attributes of<svg>
containspx
, like so:This breaks the following lines
L15 lib/iconify.js
So I guess attribute values should have a wrap with
parseInt
or smth.The text was updated successfully, but these errors were encountered: