prograils / lit

rails i18n web interface
MIT License
298 stars 71 forks source link

Adding defer: true to javascript_include_tag #185

Closed Kulgar closed 2 years ago

Kulgar commented 2 years ago

I'm adding defer: true to javascript_include_tag so that lit JS works even when we are using the "defer" prop on the main application.js include tag (which is usually importing jQuery).

I don't see what harms that change could do, but please, let me know if it may break things.