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>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for path in config.extra_javascript %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -32,11 +32,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% set title = page.title | urlencode %}
|
{% set title = page.title | urlencode %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if "{}" in rating.note %}
|
{{ rating.note.format(url = url, title = title) }}
|
||||||
{{ rating.note.format(url, title) }}
|
|
||||||
{% else %}
|
|
||||||
{{ rating.note.format(url = url, title = title) }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -63,8 +63,7 @@ export function patchIndeterminate(
|
|||||||
document$
|
document$
|
||||||
.pipe(
|
.pipe(
|
||||||
switchMap(() => getElements<HTMLInputElement>(
|
switchMap(() => getElements<HTMLInputElement>(
|
||||||
// @todo `data-md-state` is deprecated and removed in v9
|
".md-toggle--indeterminate"
|
||||||
".md-toggle--indeterminate, [data-md-state=indeterminate]"
|
|
||||||
)),
|
)),
|
||||||
tap(el => {
|
tap(el => {
|
||||||
el.indeterminate = true
|
el.indeterminate = true
|
||||||
|
@ -68,14 +68,8 @@
|
|||||||
{% set title = page.title | urlencode %}
|
{% set title = page.title | urlencode %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Legacy, deprecated, removed in next major version -->
|
|
||||||
{% if "{}" in rating.note %}
|
|
||||||
{{ rating.note.format(url, title) }}
|
|
||||||
|
|
||||||
<!-- Replace {url} and {title} placeholders in note -->
|
<!-- Replace {url} and {title} placeholders in note -->
|
||||||
{% else %}
|
{{ rating.note.format(url = url, title = title) }}
|
||||||
{{ rating.note.format(url = url, title = title) }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user