javascripts.html.twig 466 B

1234567891011
  1. {% do assets.add('jquery',101) %}
  2. {% if authorize(['admin.login', 'admin.super']) %}
  3. {% do assets.addJs(theme_url~'/js/vendor.min.js', { 'loading':'defer' }) %}
  4. {% do assets.addJs(theme_url~'/js/admin.min.js' , { 'loading':'defer' }) %}
  5. {% if browser.getBrowser == 'msie' or browser.getBrowser == 'edge' %}
  6. {% do assets.addJs(theme_url~'/js/form-attr.polyfill.js') %}
  7. {% endif %}
  8. {% include 'partials/javascripts-extra.html.twig' ignore missing %}
  9. {% endif %}