Files
overleaf-cep/services/web/app/views/_mixins/foot_scripts.pug
T
Rebeka Dekany c6f8f4bec6 Prettier for PUG templates (#26170)
* Setup prettier

* Ignore these pug templates by prettier

* Fix typo

* Fix prettier error

* Add prettier-ignore for quoting of event-segmentation attribute

* Manual tab indentation

* Interpolate

* Remove unbuffered if conditional

* Inline event-segmentation objects and remove prettier-ignore rule

* Fix spacing before interpolation

* Source format

* Source format

GitOrigin-RevId: c30e037f5caf8f91efc1bd9e75f81ae533b5a506
2025-06-24 08:05:06 +00:00

12 lines
322 B
Plaintext

mixin foot-scripts
each file in entrypointScripts(entrypoint)
script(type='text/javascript' nonce=scriptNonce src=file defer=deferScripts)
if settings.devToolbar.enabled
each file in entrypointScripts('devToolbar')
script(
type='text/javascript'
nonce=scriptNonce
src=file
defer=deferScripts
)