Quantcast
Viewing all articles
Browse latest Browse all 2196

Extension Writers Discussion • Re: Javascript Template Literals (backticks: `) not working?

Yep, it's Twig.

The solution I've found is to move my Javascript out of <script></script> and into a separate .js file.

Better encapsulation anyway, so I'm happy now. But it's surprising this was so hard to diagnose. Hopefully this thread will help others in the future.

Statistics: Posted by tig_ — Fri Jan 17, 2025 10:43 pm



Viewing all articles
Browse latest Browse all 2196

Trending Articles