refactor: Move script parts around
- Run setup function in global script - Move common script assets to hippie main template - Remove unused scrcipt from components page
This commit is contained in:
parent
6cfe5b21e1
commit
8942dc3632
10 changed files with 17 additions and 52 deletions
|
|
@ -41,6 +41,13 @@
|
|||
|
||||
{% block script %}
|
||||
{{ log.log('BODY :: Loading script assets...') }}
|
||||
{# <script src="{{ pageBase }}js/{{hippie.jsFile}}.min.js" type="text/javascript"></script> #}
|
||||
<!-- build:js js/main.concat.min.js -->
|
||||
{# // TODO: Remove dependecy to jQuery; at least maek it optional #}
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||
<script src="{{ pageBase }}js/variables.js"></script>
|
||||
<script src="{{ pageBase }}js/functions.js"></script>
|
||||
<script src="{{ pageBase }}js/global.js"></script>
|
||||
{% endblock %}
|
||||
|
||||
{{ log.log('BODY end :: Page script might still be loading.') }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue