π bug found 11/22/17: snuggsi.min.js:1 Uncaught TypeError: e[n].map is not a function
johnrlive opened this issue Β· comments
- Console error:
snuggsi.min.js:1 Uncaught TypeError: e[n].map is not a function
at TokenList.bind (snuggsi.min.js:1)
at HTMLElement.Custom.n.render (snuggsi.min.js:1)
at HTMLElement.Custom.n.connectedCallback (snuggsi.min.js:1)
at t.upgrade (snuggsi.min.js:1)
at Array.map (<anonymous>)
at t.define (snuggsi.min.js:1)
at snuggsi.min.js:1
at index.html:16
- index.html attached
<!DOCTYPE html>
<script src=https://unpkg.com/snuggsi></script>
<title>menu-item</title>
<menu-item>
<header>
{name}
</header>
</menu-item>
<script>
Element `menu-item`
(class extends HTMLElement{
onconnect(event) {
alert(this)
}
get name() { return "Ice Tea" }
})
</script>
@johnrlive π thanks for this.
@snuggs my pleasure homie! π
@snuggs Do you mind if I jump on this?
@mrbernnz @johnrlive Fixed in 6267e1b