Update ripple-lib dependency in templates:

- Use variable in more places
- Move lodash dep to a variable with integrity check
- Update examples in some places that refer to 1.8.0
This commit is contained in:
mDuo13
2021-03-03 15:23:36 -08:00
parent 2541b59e58
commit 45e9ddd3a8
9 changed files with 28 additions and 25 deletions

View File

@@ -15,9 +15,9 @@ _(Requires the [TicketBatch amendment][] :not_enabled:)_
## Prerequisites
<!-- Interactive example use ripple-lib and its prerequisites -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.js"></script>
<script type="application/javascript" src="{{target.ripple_lib_url}}"></script>
<!-- ripple-lib & prerequisites -->
{{currentpage.lodash_tag}}
{{currentpage.ripple_lib_tag}}
<!-- Helper for interactive tutorial breadcrumbs -->
<script type="application/javascript" src="assets/js/interactive-tutorial.js"></script>
<!-- Source for this specific tutorial's interactive bits: -->