๐ bug found 11/22/17: snuggsi.min.js:1 Uncaught TypeError: e[n].map is not a function
johnrlive opened this issue ยท 5 comments
johnrlive commented
- 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>
snuggs commented
@johnrlive ๐ thanks for this.
snuggs commented
snuggs commented
@mrbernnz @johnrlive Fixed in 6267e1b