kalamuna / kalastatic

:electric_plug: Facilitate the front-end experience through Styleguides and Prototypes
https://kalamuna.github.io/kalastatic/
41 stars 14 forks source link

Remove unneeded errors #660

Closed mikemccaffrey closed 1 week ago

mikemccaffrey commented 1 week ago

The if statements are testing whether these particular library files have already been added to the list of scripts/styles that will be included on the page, so that multiple link/script tags aren't created for the same files.

If the files have already been added by previously calling the attach function, that is entirely fine, and not an issue.