mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed deprecations
This commit is contained in:
parent
822b738001
commit
9979cbf9ec
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -245,7 +245,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.d6c3db9e.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.54c68c06.min.js' | url }}"></script>
|
||||
{% for path in config.extra_javascript %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
@ -32,11 +32,7 @@
|
||||
{% else %}
|
||||
{% set title = page.title | urlencode %}
|
||||
{% endif %}
|
||||
{% if "{}" in rating.note %}
|
||||
{{ rating.note.format(url, title) }}
|
||||
{% else %}
|
||||
{{ rating.note.format(url = url, title = title) }}
|
||||
{% endif %}
|
||||
{{ rating.note.format(url = url, title = title) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
@ -63,8 +63,7 @@ export function patchIndeterminate(
|
||||
document$
|
||||
.pipe(
|
||||
switchMap(() => getElements<HTMLInputElement>(
|
||||
// @todo `data-md-state` is deprecated and removed in v9
|
||||
".md-toggle--indeterminate, [data-md-state=indeterminate]"
|
||||
".md-toggle--indeterminate"
|
||||
)),
|
||||
tap(el => {
|
||||
el.indeterminate = true
|
||||
|
@ -68,14 +68,8 @@
|
||||
{% set title = page.title | urlencode %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Legacy, deprecated, removed in next major version -->
|
||||
{% if "{}" in rating.note %}
|
||||
{{ rating.note.format(url, title) }}
|
||||
|
||||
<!-- Replace {url} and {title} placeholders in note -->
|
||||
{% else %}
|
||||
{{ rating.note.format(url = url, title = title) }}
|
||||
{% endif %}
|
||||
{{ rating.note.format(url = url, title = title) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user