Store has a feature to specify initial content in the markup as JSON. If a Store subclass contains child elements, then don't try to parse the Store's textContent as JSON.
This probably doesn't make cloneNode() work correctly, but it doesn't fail quite as spectacularly.
An alternative would be to remove that JSON parsing feature entirely.
Store has a feature to specify initial content in the markup as JSON. If a Store subclass contains child elements, then don't try to parse the Store's textContent as JSON.
This probably doesn't make
cloneNode()
work correctly, but it doesn't fail quite as spectacularly.An alternative would be to remove that JSON parsing feature entirely.