mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed invalid destructuring attempt on NodeList
This commit is contained in:
parent
a4012cf6f1
commit
c293fcfb42
File diff suppressed because one or more lines are too long
@ -151,7 +151,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ base_url }}/assets/javascripts/application-c5d094b286.js"></script>
|
||||
<script src="{{ base_url }}/assets/javascripts/application-3964c0cb56.js"></script>
|
||||
<script>app.initialize({url:{base:"{{ base_url }}"}})</script>
|
||||
{% for path in extra_javascript %}
|
||||
<script src="{{ path }}"></script>
|
||||
|
@ -53,7 +53,7 @@ export default class Result {
|
||||
this.el_ = ref
|
||||
|
||||
/* Retrieve metadata and list element */
|
||||
const [meta, list] = this.el_.children
|
||||
const [meta, list] = Array.prototype.slice.call(this.el_.children)
|
||||
|
||||
/* Set data, metadata and list elements */
|
||||
this.data_ = data
|
||||
|
Loading…
Reference in New Issue
Block a user