mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Formatting
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -214,7 +214,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/bundle.5ea521e9.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.c44cc438.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 %}
|
||||||
|
|||||||
@@ -198,13 +198,14 @@ export function mountCodeBlock(
|
|||||||
tap(state => push$.next(state)),
|
tap(state => push$.next(state)),
|
||||||
finalize(() => push$.complete()),
|
finalize(() => push$.complete()),
|
||||||
map(state => ({ ref: el, ...state })),
|
map(state => ({ ref: el, ...state })),
|
||||||
mergeWith(watchElementSize(container)
|
mergeWith(
|
||||||
.pipe(
|
watchElementSize(container)
|
||||||
takeUntil(push$.pipe(takeLast(1))),
|
.pipe(
|
||||||
map(({ width, height }) => width && height),
|
takeUntil(push$.pipe(takeLast(1))),
|
||||||
distinctUntilChanged(),
|
map(({ width, height }) => width && height),
|
||||||
switchMap(active => active ? annotations$ : EMPTY)
|
distinctUntilChanged(),
|
||||||
)
|
switchMap(active => active ? annotations$ : EMPTY)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user