mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed linter errors
This commit is contained in:
parent
b0afb7f1df
commit
2b08c42c09
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -213,7 +213,7 @@
|
||||
"base": base_url,
|
||||
"features": features,
|
||||
"translations": {},
|
||||
"search": "assets/javascripts/workers/search.5bf1dace.min.js" | url
|
||||
"search": "assets/javascripts/workers/search.16e2a7d4.min.js" | url
|
||||
} -%}
|
||||
{%- if config.extra.version -%}
|
||||
{%- set _ = app.update({ "version": config.extra.version }) -%}
|
||||
@ -245,7 +245,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.6079f66d.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.8492ddcf.min.js' | url }}"></script>
|
||||
{% for path in config.extra_javascript %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
@ -80,7 +80,7 @@ if (typeof Element !== "undefined") {
|
||||
/* Replace children and create text nodes */
|
||||
for (let i = nodes.length - 1; i >= 0; i--) {
|
||||
let node = nodes[i]
|
||||
if (typeof node !== "object")
|
||||
if (typeof node === "string")
|
||||
node = document.createTextNode(node)
|
||||
else if (node.parentNode)
|
||||
node.parentNode.removeChild(node)
|
||||
|
Loading…
Reference in New Issue
Block a user