function getIconBySizeAndTarget()

in lib/prepare.js [439:447]


    function getIconBySizeAndTarget (width, height, target) {
        return icons
            .filter(res => res.target === target)
            .find(res =>
                (res.width || res.height) &&
                (!res.width || (width === res.width)) &&
                (!res.height || (height === res.height))
            ) || null;
    }