GSA / uswds-sf-lightning-community

A Salesforce Lightning Community Theme and related components built upon US Web Design System
Other
32 stars 15 forks source link

Missing uswds-init on some components #189

Closed mvogelgesang closed 1 year ago

mvogelgesang commented 1 year ago

Describe the bug

When investigating #183, found that a number of other components are missing a reference to uswds-init.min.js. This is not known to cause issues but should be corrected anyways.

All uswds components should have the following present within the <aura:component> tags, preferably at the top.

<ltng:require styles="{!$Resource.uswds_2_x+'/css/uswds.min.css'}" />
<ltng:require scripts="{!$Resource.uswds_2_x+'/js/uswds-init.min.js'}" />
<ltng:require scripts="{!$Resource.uswds_2_x+'/js/uswds.min.js'}" />