Support elements wrapped in Polymer's DOM API
Support elements wrapped in Polymer's DOM API

Polymer has its own DOM API for its shady DOM. Elements can be wrapped
in that API. This, however, changes the constructor of the elements. By
accessing the node attribute, which is set by Polymer, we can determine
the constructor of the unwrapped element.

dominikh/go-js-dom