mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
Load correct JS for the active Bootstrap version, second attempt GitOrigin-RevId: ad8748a941691d745db5cd3e986e9c7b188b3ecb
4 lines
189 B
Plaintext
4 lines
189 B
Plaintext
mixin bootstrap-js(bootstrapVersion)
|
|
each file in (entrypointScripts(bootstrapVersion === 5 ? 'bootstrap-5' : 'bootstrap-3'))
|
|
script(type="text/javascript", nonce=scriptNonce, src=file)
|