angular-feather
angular-feather copied to clipboard
fix the rendering of icons that have two or more sections in the name
The uppercamelcase function was only considering simple names (activity, airplay, etc.). Icons with compound names (alert-triangle, arrow-down-circle, etc.) were displaying an error message in the console:
I made a change to the function to also consider icons with compound names and added a unit test.