mirror of
https://github.com/iconify/iconify.git
synced 2024-12-13 14:13:06 +00:00
Remove unnecessary comments from utils
This commit is contained in:
parent
c28ad01412
commit
a77c89a545
@ -6,13 +6,6 @@ const unitsTest = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
||||
|
||||
/**
|
||||
* Calculate second dimension when only 1 dimension is set
|
||||
*
|
||||
* @param {string|number} size One dimension (such as width)
|
||||
* @param {number} ratio Width/height ratio.
|
||||
* If size is width, ratio = height/width
|
||||
* If size is height, ratio = width/height
|
||||
* @param {number} [precision] Floating number precision in result to minimize output. Default = 2
|
||||
* @return {string|number} Another dimension
|
||||
*/
|
||||
export function calculateSize(
|
||||
size: string | number,
|
||||
|
Loading…
Reference in New Issue
Block a user