Fixed invalid destructuring attempt on NodeList

This commit is contained in:
squidfunk
2017-03-16 17:37:07 +01:00
committed by Martin Donath
parent a4012cf6f1
commit c293fcfb42
3 changed files with 3 additions and 3 deletions

View File

@@ -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