Consolidate weather icon classification methods #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace 5 overlapping icon methods (isSunIcon, isClearSun, isSunBehindClouds, isSnowIcon) and 3 copy-pasted classification blocks with single classifyWeatherIcon() and applyWeatherIconClasses() methods in WeatherManager.js.